CC-6106: Permission problems with bulk and single edit in the Dashboard

This commit is contained in:
drigato 2015-08-28 13:40:38 -04:00
parent f36ff944c2
commit 6811646aaa
3 changed files with 27 additions and 6 deletions

View file

@ -197,4 +197,17 @@ class Application_Form_EditAudioMD extends Zend_Form
));
}
public function makeReadOnly()
{
foreach ($this as $element) {
$element->setAttrib('readonly', 'readonly');
}
}
public function removeActionButtons()
{
$this->removeElement('editmdsave');
$this->removeElement('editmdcancel');
}
}