[PE] Fixed Bug 33406.
This commit is contained in:
parent
970d1368aa
commit
26819a5488
|
@ -1335,11 +1335,8 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onFocusObject: function(SelectedObjects) {
|
onFocusObject: function(SelectedObjects) {
|
||||||
if (SelectedObjects.length>0) {
|
|
||||||
var rightpan = this.getApplication().getController('RightMenu');
|
var rightpan = this.getApplication().getController('RightMenu');
|
||||||
// var docPreview = this.getApplication().getController('Viewport').getView('DocumentPreview');
|
if (rightpan) rightpan.onFocusObject.call(rightpan, SelectedObjects);
|
||||||
if (rightpan /*&& !docPreview.isVisible()*/) rightpan.onFocusObject.call(rightpan, SelectedObjects);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
_onChangeObjectLock: function() {
|
_onChangeObjectLock: function() {
|
||||||
|
|
|
@ -114,7 +114,7 @@ define([
|
||||||
this._settings[i].locked = undefined;
|
this._settings[i].locked = undefined;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this._settings[Common.Utils.documentSettingsType.Slide].hidden = 0;
|
this._settings[Common.Utils.documentSettingsType.Slide].hidden = (SelectedObjects.length>0) ? 0 : 1;
|
||||||
|
|
||||||
for (i=0; i<SelectedObjects.length; i++)
|
for (i=0; i<SelectedObjects.length; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue