CC-6106: Permission problems with bulk and single edit in the Dashboard
This commit is contained in:
parent
f36ff944c2
commit
6811646aaa
3 changed files with 27 additions and 6 deletions
|
@ -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');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue