Permalink
Browse files

Console update to manage the overridden settings

  • Loading branch information...
1 parent 8bab138 commit 5cd3800e154d9a3e3d89805747e1623f886d6da7 @giastfader giastfader committed Mar 4, 2014
Showing with 8 additions and 5 deletions.
  1. +8 −5 public/console/bbjs/baasboxgui.js
@@ -1607,7 +1607,8 @@ function setupTables(){
},
{"mData": "key", "mRender": function ( data, type, full ) {
- return getActionButton("edit","setting",data);
+ if (full.editable) return getActionButton("edit","setting",data);
+ else return "";
}
}],
@@ -1626,7 +1627,8 @@ function setupTables(){
}
},
{"mData": "key", "mRender": function ( data, type, full ) {
- return getActionButton("edit","setting",data);
+ if (full.editable) return getActionButton("edit","setting",data);
+ else return "";
}
}],
@@ -1645,7 +1647,8 @@ function setupTables(){
}
},
{"mData": "key", "mRender": function ( data, type, full ) {
- return getActionButton("edit","setting",data);
+ if (full.editable) return getActionButton("edit","setting",data);
+ else return "";
}
}],
@@ -1664,8 +1667,8 @@ function setupTables(){
}
},
{"mData": "key", "mRender": function ( data, type, full ) {
- return getActionButton("edit","setting",data);
- }
+ if (full.editable) return getActionButton("edit","setting",data);
+ else return ""; }
}],
"bRetrieve": true,

0 comments on commit 5cd3800

Please sign in to comment.