[PE] Fix Bug 58916
This commit is contained in:
		
							parent
							
								
									1ccdbafac0
								
							
						
					
					
						commit
						3e7bc7ac15
					
				| 
						 | 
					@ -150,13 +150,17 @@ define([
 | 
				
			||||||
                    this._settings[settingsType].lockedHeader = !!value.get_LockHeader && value.get_LockHeader();
 | 
					                    this._settings[settingsType].lockedHeader = !!value.get_LockHeader && value.get_LockHeader();
 | 
				
			||||||
                } else {
 | 
					                } else {
 | 
				
			||||||
                    this._settings[settingsType].locked = value.get_Locked();
 | 
					                    this._settings[settingsType].locked = value.get_Locked();
 | 
				
			||||||
                    if (settingsType == Common.Utils.documentSettingsType.Shape && value.asc_getTextArtProperties()) {
 | 
					                    if (settingsType == Common.Utils.documentSettingsType.Shape) {
 | 
				
			||||||
 | 
					                        if (value.asc_getIsMotionPath()) {
 | 
				
			||||||
 | 
					                            this._settings[settingsType].hidden = 1;
 | 
				
			||||||
 | 
					                        } else if (value.asc_getTextArtProperties()) {
 | 
				
			||||||
                            this._settings[Common.Utils.documentSettingsType.TextArt].props = value;
 | 
					                            this._settings[Common.Utils.documentSettingsType.TextArt].props = value;
 | 
				
			||||||
                            this._settings[Common.Utils.documentSettingsType.TextArt].hidden = 0;
 | 
					                            this._settings[Common.Utils.documentSettingsType.TextArt].hidden = 0;
 | 
				
			||||||
                            this._settings[Common.Utils.documentSettingsType.TextArt].locked = value.get_Locked();
 | 
					                            this._settings[Common.Utils.documentSettingsType.TextArt].locked = value.get_Locked();
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if ( this._settings[Common.Utils.documentSettingsType.Slide].locked ) { // если находимся в locked slide, то считаем, что все элементы в нем тоже недоступны
 | 
					            if ( this._settings[Common.Utils.documentSettingsType.Slide].locked ) { // если находимся в locked slide, то считаем, что все элементы в нем тоже недоступны
 | 
				
			||||||
                for (i=0; i<this._settings.length; i++)  {
 | 
					                for (i=0; i<this._settings.length; i++)  {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue