Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
4ffe882f
Commit
4ffe882f
authored
Aug 29, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Bug 33027.
parent
a69dd755
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
apps/documenteditor/main/app/view/ImageSettings.js
apps/documenteditor/main/app/view/ImageSettings.js
+3
-3
apps/presentationeditor/main/app/view/ImageSettings.js
apps/presentationeditor/main/app/view/ImageSettings.js
+3
-3
apps/spreadsheeteditor/main/app/view/ImageSettings.js
apps/spreadsheeteditor/main/app/view/ImageSettings.js
+3
-3
No files found.
apps/documenteditor/main/app/view/ImageSettings.js
View file @
4ffe882f
...
...
@@ -242,10 +242,10 @@ define([
if
(
this
.
_state
.
isOleObject
)
{
var
plugin
=
DE
.
getCollection
(
'
Common.Collections.Plugins
'
).
findWhere
({
guid
:
pluginGuid
});
this
.
btnEditObject
.
setDisabled
(
plugin
===
null
||
plugin
===
undefined
);
this
.
btnEditObject
.
setDisabled
(
plugin
===
null
||
plugin
===
undefined
||
this
.
_locked
);
}
else
{
this
.
btnInsertFromUrl
.
setDisabled
(
pluginGuid
===
null
);
this
.
btnInsertFromFile
.
setDisabled
(
pluginGuid
===
null
);
this
.
btnInsertFromUrl
.
setDisabled
(
pluginGuid
===
null
||
this
.
_locked
);
this
.
btnInsertFromFile
.
setDisabled
(
pluginGuid
===
null
||
this
.
_locked
);
}
}
},
...
...
apps/presentationeditor/main/app/view/ImageSettings.js
View file @
4ffe882f
...
...
@@ -181,10 +181,10 @@ define([
if
(
this
.
_state
.
isOleObject
)
{
var
plugin
=
PE
.
getCollection
(
'
Common.Collections.Plugins
'
).
findWhere
({
guid
:
pluginGuid
});
this
.
btnEditObject
.
setDisabled
(
plugin
===
null
||
plugin
===
undefined
);
this
.
btnEditObject
.
setDisabled
(
plugin
===
null
||
plugin
===
undefined
||
this
.
_locked
);
}
else
{
this
.
btnInsertFromUrl
.
setDisabled
(
pluginGuid
===
null
);
this
.
btnInsertFromFile
.
setDisabled
(
pluginGuid
===
null
);
this
.
btnInsertFromUrl
.
setDisabled
(
pluginGuid
===
null
||
this
.
_locked
);
this
.
btnInsertFromFile
.
setDisabled
(
pluginGuid
===
null
||
this
.
_locked
);
}
}
},
...
...
apps/spreadsheeteditor/main/app/view/ImageSettings.js
View file @
4ffe882f
...
...
@@ -236,10 +236,10 @@ define([
if
(
this
.
_state
.
isOleObject
)
{
var
plugin
=
SSE
.
getCollection
(
'
Common.Collections.Plugins
'
).
findWhere
({
guid
:
pluginGuid
});
this
.
btnEditObject
.
setDisabled
(
plugin
===
null
||
plugin
===
undefined
);
this
.
btnEditObject
.
setDisabled
(
plugin
===
null
||
plugin
===
undefined
||
this
.
_locked
);
}
else
{
this
.
btnInsertFromUrl
.
setDisabled
(
pluginGuid
===
null
);
this
.
btnInsertFromFile
.
setDisabled
(
pluginGuid
===
null
);
this
.
btnInsertFromUrl
.
setDisabled
(
pluginGuid
===
null
||
this
.
_locked
);
this
.
btnInsertFromFile
.
setDisabled
(
pluginGuid
===
null
||
this
.
_locked
);
}
}
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment