Updated Branches: refs/heads/4.2 36a70f471 -> ed9f7691c
CLOUDSTACK-4142: UI > remove fieldPreFilter which is no longer in use. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ed9f7691 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ed9f7691 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ed9f7691 Branch: refs/heads/4.2 Commit: ed9f7691c755cda6e80f7d620d1a45b74d6f6f6f Parents: 36a70f4 Author: Jessica Wang <[email protected]> Authored: Mon Aug 12 17:06:01 2013 -0700 Committer: Jessica Wang <[email protected]> Committed: Mon Aug 12 17:06:01 2013 -0700 ---------------------------------------------------------------------- ui/scripts/network.js | 3 +++ ui/scripts/vpc.js | 4 ++++ 2 files changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ed9f7691/ui/scripts/network.js ---------------------------------------------------------------------- diff --git a/ui/scripts/network.js b/ui/scripts/network.js index e65ee5c..c5b1339 100755 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -3236,6 +3236,7 @@ }, multipleAdd: true, + /* fieldPreFilter: function(args) { var hiddenFields = []; if ('vpc' in args.context) { //from VPC section @@ -3270,6 +3271,8 @@ } return hiddenFields; // Returns fields to be hidden }, + */ + fields: { 'name': { edit: true, http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ed9f7691/ui/scripts/vpc.js ---------------------------------------------------------------------- diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index 39ed997..f6b2a76 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -17,6 +17,8 @@ (function($, cloudStack) { var aclMultiEdit = { noSelect: true, + + /* fieldPreFilter: function(args) { var context = args.context; var hiddenFields = []; @@ -27,6 +29,8 @@ return hiddenFields; // Returns fields to be hidden }, + */ + reorder: { moveDrag: { action: function(args) {
