Skip to content
Snippets Groups Projects
Commit 1c976103 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

processing dialog is defined properly to not to have close button

parent b192aa30
No related branches found
No related tags found
2 merge requests!115Resolve "admin panel should use API",!114Resolve "admin panel should use API"
...@@ -492,6 +492,10 @@ h1 { ...@@ -492,6 +492,10 @@ h1 {
margin: 5px; margin: 5px;
} }
.minerva-no-close .ui-dialog-titlebar-close {
display: none
}
.ui-icon { .ui-icon {
display: inline-block; display: inline-block;
} }
......
...@@ -132,10 +132,7 @@ GuiConnector.showProcessing = function(messageText) { ...@@ -132,10 +132,7 @@ GuiConnector.showProcessing = function(messageText) {
title : "PROCESSING", title : "PROCESSING",
width : "150px", width : "150px",
closeOnEscape : false, closeOnEscape : false,
open : function(event, ui) { dialogClass: 'minerva-no-close',
/*jslint bitwise: true */
$(".ui-dialog-titlebar-close", ui.dialog | ui).hide();
},
}); });
} }
if (messageText === undefined) { if (messageText === undefined) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment