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
c144db69
Commit
c144db69
authored
Jul 07, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug with closing add-ons.
parent
56b75be8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
apps/common/main/lib/view/Plugins.js
apps/common/main/lib/view/Plugins.js
+4
-3
No files found.
apps/common/main/lib/view/Plugins.js
View file @
c144db69
...
...
@@ -107,6 +107,7 @@ define([
this
.
pluginsPanel
=
$
(
'
#plugins-box
'
);
this
.
pluginsMask
=
$
(
'
#plugins-mask
'
);
this
.
currentPluginPanel
=
$
(
'
#current-plugin-box
'
);
this
.
currentPluginFrame
=
$
(
'
#current-plugin-frame
'
);
this
.
pluginMenu
=
new
Common
.
UI
.
Menu
({
menuAlign
:
'
tr-br
'
,
...
...
@@ -151,10 +152,10 @@ define([
this
.
iframePlugin
.
frameBorder
=
0
;
this
.
iframePlugin
.
scrolling
=
"
no
"
;
this
.
iframePlugin
.
onload
=
_
.
bind
(
this
.
_onLoad
,
this
);
$
(
'
#current-plugin-frame
'
)
.
append
(
this
.
iframePlugin
);
this
.
currentPluginFrame
.
append
(
this
.
iframePlugin
);
if
(
!
this
.
loadMask
)
this
.
loadMask
=
new
Common
.
UI
.
LoadMask
({
owner
:
$
(
'
#current-plugin-frame
'
)
});
this
.
loadMask
=
new
Common
.
UI
.
LoadMask
({
owner
:
this
.
currentPluginFrame
});
this
.
loadMask
.
setTitle
(
this
.
textLoading
);
this
.
loadMask
.
show
();
...
...
@@ -164,7 +165,7 @@ define([
closeInsideMode
:
function
()
{
if
(
this
.
iframePlugin
)
{
this
.
iframePlugin
.
remove
();
this
.
currentPluginFrame
.
empty
();
this
.
iframePlugin
=
null
;
}
this
.
currentPluginPanel
.
toggleClass
(
'
hidden
'
,
true
);
...
...
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