Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
synergy-components
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Irina Oleynik
synergy-components
Commits
fd194abc
Commit
fd194abc
authored
Feb 09, 2018
by
Valentin Skripnikov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix registry-toolbar-button.conf.xml: скрытие контента кнопки при выборе группы реестров
parent
b11924a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
emc/registry-toolbar-button.conf.xml
emc/registry-toolbar-button.conf.xml
+1
-10
No files found.
emc/registry-toolbar-button.conf.xml
View file @
fd194abc
...
...
@@ -38,7 +38,7 @@ function RegistryToolbarButtonExt(iframeSrc, faIcon, content) {
jQuery('.rtable-focusable').closest('table').addClass("registry-records-table");
var registryRecordsTable = jQuery('.registry-records-table');
var contentContainer = jQuery('
<
div id="registry-toolbar-button-content" style="height:100%; width:100%"
><
/div
>
');
var contentContainer = jQuery('
<
div id="registry-toolbar-button-content" style="height:100%; width:100%
; position:fixed;
"
><
/div
>
');
var contentElement = content ? content : jQuery('
<
iframe id="registry-toolbar-button-ext-iframe" src="' + iframeSrc + '" height="100%" width="100%"
><
/iframe
>
');
if (jQuery('#registry-toolbar-button-content').length === 0) {
registryRecordsTable.after(contentContainer);
...
...
@@ -55,15 +55,6 @@ function RegistryToolbarButtonExt(iframeSrc, faIcon, content) {
}
});
/**
* 19.01.2018 bugfix
* Если открыли другой реестр или группу реестров, то необходимо
* почистить за собой, чтобы слой не перекрывал необходимый контент
*/
button.on('DOMNodeRemovedFromDocument', function() {
jQuery('#registry-toolbar-button-content').remove();
});
function showRegistry() {
registryRecordsTable.show();
contentElement.remove();
...
...
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