You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by sn...@apache.org on 2014/09/05 04:45:58 UTC
git commit: ARGUS-32:Fixed Admin UI caching to reflect permission
changes done outside
Repository: incubator-argus
Updated Branches:
refs/heads/master 2ddb59fb4 -> 78281ae0d
ARGUS-32:Fixed Admin UI caching to reflect permission changes done outside
Signed-off-by: sneethiraj <sn...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/incubator-argus/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-argus/commit/78281ae0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-argus/tree/78281ae0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-argus/diff/78281ae0
Branch: refs/heads/master
Commit: 78281ae0db9b88c9a0178cc7d1560e6af7e0e7fc
Parents: 2ddb59f
Author: vperiasamy <vp...@hortonworks.com>
Authored: Thu Sep 4 13:26:38 2014 -0400
Committer: sneethiraj <sn...@apache.org>
Committed: Thu Sep 4 22:45:25 2014 -0400
----------------------------------------------------------------------
.../webapp/scripts/controllers/Controller.js | 30 +++++++++++++-------
1 file changed, 20 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/78281ae0/security-admin/src/main/webapp/scripts/controllers/Controller.js
----------------------------------------------------------------------
diff --git a/security-admin/src/main/webapp/scripts/controllers/Controller.js b/security-admin/src/main/webapp/scripts/controllers/Controller.js
index 449f111..cf0546d 100644
--- a/security-admin/src/main/webapp/scripts/controllers/Controller.js
+++ b/security-admin/src/main/webapp/scripts/controllers/Controller.js
@@ -81,7 +81,7 @@ define(function(require) {
assetModel : assetModel
}));
resourceListForAsset.fetch({
- cache : true
+// cache : true
});
});
},
@@ -133,7 +133,9 @@ define(function(require) {
});
var assetModel = new VXAsset({id:assetId});
- resource.fetch({cache:true}).done(function(){
+ resource.fetch({
+// cache:true
+ }).done(function(){
assetModel.fetch({cache : true}).done(function(){
App.rContent.show(new view({
model : resource,
@@ -160,7 +162,7 @@ define(function(require) {
assetModel : assetModel
}));
resourceListForAsset.fetch({
- cache : true
+// cache : true
});
});
},
@@ -198,7 +200,9 @@ define(function(require) {
}
});
var assetModel = new VXAsset({id:assetId});
- resource.fetch({cache:true}).done(function(){
+ resource.fetch({
+// cache:true
+ }).done(function(){
assetModel.fetch({cache : true}).done(function(){
App.rContent.show(new view({
model : resource,
@@ -227,7 +231,7 @@ define(function(require) {
assetModel : assetModel
}));
resourceListForAsset.fetch({
- cache : true
+// cache : true
});
});
},
@@ -265,7 +269,9 @@ define(function(require) {
}
});
var assetModel = new VXAsset({id:assetId});
- resource.fetch({cache:true}).done(function(){
+ resource.fetch({
+// cache:true
+ }).done(function(){
assetModel.fetch({cache : true}).done(function(){
App.rContent.show(new view({
model : resource,
@@ -293,7 +299,7 @@ define(function(require) {
assetModel : assetModel
}));
resourceListForAsset.fetch({
- cache : true
+// cache : true
});
});
},
@@ -331,7 +337,9 @@ define(function(require) {
}
});
var assetModel = new VXAsset({id:assetId});
- resource.fetch({cache:true}).done(function(){
+ resource.fetch({
+// cache:true
+ }).done(function(){
assetModel.fetch({cache : true}).done(function(){
App.rContent.show(new view({
model : resource,
@@ -380,7 +388,7 @@ define(function(require) {
assetModel : assetModel
}));
resourceListForAsset.fetch({
- cache : true
+// cache : true
});
});
@@ -419,7 +427,9 @@ define(function(require) {
'assetId' : assetId
}
});
- resource.fetch({cache:true}).done(function(){
+ resource.fetch({
+// cache:true
+ }).done(function(){
assetModel.fetch({cache:true}).done(function(){
App.rContent.show(new view({
model : resource,