src/cm/media/js/client/c_permissions.js
author Production Moz <dev@sopinspace.com>
Sun, 27 Jan 2013 11:19:55 +0100
changeset 491 50eeeb10e960
parent 341 053551f213fb
permissions -rw-r--r--
Since scrollIntoView scroll the embed iframe *and* the parent window, save and restore the position of the toolbar.

hasPerm = function(label) {
  return (-1 != CY.Array.indexOf(sv_user_permissions, label)) ; 
}