src/cm/media/js/client/c_permissions.js
author Production Moz <dev@sopinspace.com>
Mon, 28 Jan 2013 01:20:52 +0100
changeset 492 5b5245f4fe9a
parent 341 053551f213fb
permissions -rw-r--r--
Since scrollIntoView scroll the embed iframe *and* the parent window, restore the position of the toolbar.

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