mirror of https://github.com/apache/cloudstack.git
Support custom action after new panel is selected
This commit is contained in:
parent
fd0d08f2cd
commit
55b4cfc82a
|
|
@ -213,6 +213,7 @@
|
|||
var $container = this.element;
|
||||
var $toShow = _panel.lower($container, $panel);
|
||||
var $toRemove = _panel.higher($container, $panel);
|
||||
var complete = args.complete;
|
||||
|
||||
if ($panel.hasClass('maximized')) return false;
|
||||
|
||||
|
|
@ -235,6 +236,8 @@
|
|||
duration: 500,
|
||||
complete: function() {
|
||||
$(this).remove();
|
||||
|
||||
if (complete) complete($toShow);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue