Updated Branches: refs/heads/ui-ucs 07311382e -> 8010a1b08
CLOUDSTACK - UCS manager - remove detailView of Blade since action has been moved to listView. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8010a1b0 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8010a1b0 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8010a1b0 Branch: refs/heads/ui-ucs Commit: 8010a1b0858e3a1dd442f83bfd5022bc424d924c Parents: 0731138 Author: Jessica Wang <jessicaw...@apache.org> Authored: Fri May 17 17:07:03 2013 -0700 Committer: Jessica Wang <jessicaw...@apache.org> Committed: Fri May 17 17:07:03 2013 -0700 ---------------------------------------------------------------------- ui/scripts/system.js | 36 +++++++----------------------------- 1 files changed, 7 insertions(+), 29 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8010a1b0/ui/scripts/system.js ---------------------------------------------------------------------- diff --git a/ui/scripts/system.js b/ui/scripts/system.js index f1b1604..e8f4a1b 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -11071,8 +11071,9 @@ } } } - }, - + } + + /*, detailView: { name: 'blade details', noCompact: true, @@ -11092,18 +11093,6 @@ select: function(args) { var items = []; - /* - $.ajax({ - url: createURL('listUcsProfile'), - data: { - ucsmanagerid: args.context.ucsManagers[0].id - }, - success: function(json) { - - } - }); - */ - items.push({id: 'profile_1', description: 'profile_1'}); items.push({id: 'profile_2', description: 'profile_2'}); items.push({id: 'profile_3', description: 'profile_3'}); @@ -11113,20 +11102,7 @@ } } }, - action: function(args) { - /* - $.ajax({ - url: createURL('associatesUscProfileToBlade'), - data: { - ucsmanagerid: args.context.ucsManagers[0].id, - profiledn: args.data.profiledn, - bladeid: '1234567890' //to change later - }, - success: function(json) { - - } - }); - */ + action: function(args) { args.response.success(); }, notification: { @@ -11161,7 +11137,9 @@ } } } - } + } + */ + } } }