Commit c4e1b15b authored by Valentin Skripnikov's avatar Valentin Skripnikov

Fix registry-toolbar-button.conf.xml: скрытие контента кнопки при выборе группы реестров

parent fd194abc
...@@ -38,7 +38,7 @@ function RegistryToolbarButtonExt(iframeSrc, faIcon, content) { ...@@ -38,7 +38,7 @@ function RegistryToolbarButtonExt(iframeSrc, faIcon, content) {
jQuery('.rtable-focusable').closest('table').addClass("registry-records-table"); jQuery('.rtable-focusable').closest('table').addClass("registry-records-table");
var registryRecordsTable = jQuery('.registry-records-table'); var registryRecordsTable = jQuery('.registry-records-table');
var contentContainer = jQuery('<div id="registry-toolbar-button-content" style="height:100%; width:100%; position:fixed;"></div>'); var contentContainer = jQuery('<div id="registry-toolbar-button-content" style="height:100%; width:100%; position:absolute;"></div>');
var contentElement = content ? content : jQuery('<iframe id="registry-toolbar-button-ext-iframe" src="' + iframeSrc + '" height="100%" width="100%"></iframe>'); 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) { if (jQuery('#registry-toolbar-button-content').length === 0) {
registryRecordsTable.after(contentContainer); registryRecordsTable.after(contentContainer);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment