PHP Classes

File: web/bundles/Raptor/js/rpt-ext.js

Recommend this page to a friend!
  Classes of william amed   Raptor 2   web/bundles/Raptor/js/rpt-ext.js   Download  
File: web/bundles/Raptor/js/rpt-ext.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 891 bytes
 

Contents

Class file image Download
if(Ext){ Raptor.controlActions=function() { var actions = Raptor.getActions(); if (actions != false) { var actionsSize = actions.length; var selector = new Array(); for (var i = 0; i < actionsSize; i++) { selector.push('[privilegeName=' + actions[i] + '] '); } var sel=selector.join(','); var all = Ext.ComponentQuery.query('[?privilegeName]'); Ext.each(all, function(name, index, countriesItSelf) { name.hide(); }); var compo = Ext.ComponentQuery.query(sel); Ext.each(compo, function(name, index, countriesItSelf) { name.show(); }); } } }