public function deleteiconAction()
 {
     if ($datas = $this->getRequest()->getPost()) {
         try {
             $icon = new Media_Model_Library_Image();
             $icon->find($datas['icon_id']);
             if ($icon->getAdminId()) {
                 $icon->delete();
             } else {
                 throw new Exception($this->_("You may not delete a library icon"));
             }
             $html = array('success' => 1);
         } catch (Exception $e) {
             $html = array('message' => $e->getMessage(), 'message_button' => 1, 'message_loader' => 1);
         }
         $this->getLayout()->setHtml(Zend_Json::encode($html));
     }
 }