src/cm/media/js/client/c_permissions.js
author gibus
Mon, 29 Nov 2010 14:12:38 +0100
changeset 339 0508284129cf
parent 0 40c8f766c9b8
child 341 053551f213fb
permissions -rw-r--r--
Open automatically reply to comment form when comment_op url parameter is set to "reply", *even if there is no reply yet* (therefore no animation should have been triggered)
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) {
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     2
	return (-1 != CY.Array.indexOf(sv_user_permissions, label)) ; 
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     3
}