Skip to content
Permalink
Browse files

Restore previous spinner logic, since this is supposed to work with g…

…eneric content (i.e. independent of dialog.js)
  • Loading branch information...
flack committed Jun 5, 2019
1 parent 0255e1f commit 0e4fbae3b321bb815f3b5c65f0ec9c0d30457d59
Showing with 5 additions and 4 deletions.
  1. +0 −3 static/midcom.workflow/dialog.js
  2. +5 −1 static/midcom.workflow/workflow.js
@@ -152,9 +152,6 @@ $(document).ready(function() {
click.apply(dialog[0], arguments);
});
});

dialog.find('> .fa-spinner').hide();
dialog.find('> iframe').css('visibility', 'visible');
} else {
$('.midcom-view-toolbar').show();
}
@@ -212,7 +212,11 @@ function create_dialog(control, title, url) {
+ ' marginheight="0"'
+ ' width="100%"'
+ ' height="100%"'
+ ' scrolling="auto" />');
+ ' scrolling="auto" />')
.on('load', function() {
spinner.hide();
$(this).css('visibility', 'visible');
});

dialog = $('<div id="midcom-dialog"></div>')
.append(spinner)

0 comments on commit 0e4fbae

Please sign in to comment.
You can’t perform that action at this time.