Updated Branches: refs/heads/master 0ea93d690 -> 63c22a150
Session expire: show overlay on dialog to prevent clicking in UI Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/63c22a15 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/63c22a15 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/63c22a15 Branch: refs/heads/master Commit: 63c22a1508bb0bb8c1c2478eedae46b8f0cf518f Parents: 0ea93d6 Author: Brian Federle <[email protected]> Authored: Thu Feb 13 15:06:09 2014 -0800 Committer: Brian Federle <[email protected]> Committed: Thu Feb 13 15:06:09 2014 -0800 ---------------------------------------------------------------------- ui/scripts/cloudStack.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/63c22a15/ui/scripts/cloudStack.js ---------------------------------------------------------------------- diff --git a/ui/scripts/cloudStack.js b/ui/scripts/cloudStack.js index 5195a7b..33e84e9 100644 --- a/ui/scripts/cloudStack.js +++ b/ui/scripts/cloudStack.js @@ -101,10 +101,12 @@ var clickAction = function() { $('#user-options a').eq(0).trigger('click'); }; + cloudStack.dialog.notice({ message: _l('label.session.expired'), clickAction: clickAction - }); + }).closest('.ui-dialog').overlay(); + return false; } }
