src/cm/media/js/client/c_permissions.js
author gibus
Mon, 18 Mar 2013 17:29:40 +0100
changeset 501 5cd02f32be5e
parent 341 053551f213fb
permissions -rw-r--r--
Prevents sumitting comment several time while waiting for server response.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     1
hasPerm = function(label) {
341
053551f213fb Coding style for js: expand tabs
gibus
parents: 0
diff changeset
     2
  return (-1 != CY.Array.indexOf(sv_user_permissions, label)) ; 
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     3
}