Resize view after showing a Wizard

When a wizard dialog is shown a resize must be triggered because
display is not called at that time.

issue5134
review27101002
This commit is contained in:
Sergi Almacellas Abellana
2017-02-14 09:41:06 +01:00
parent 71c3b493fb
commit 27b0e56a7e
+3
View File
@@ -210,6 +210,9 @@
Sao.Wizard.Dialog._super.init.call(this);
var dialog = new Sao.Dialog(name, 'wizard-dialog', 'lg');
this.dialog = dialog.modal;
this.dialog.on('shown.bs.modal', function () {
Sao.View.resize(jQuery(this));
});
this.content = dialog.content;
this.footer = dialog.footer;
dialog.body.append(this.widget).append(this.info_bar.el);