public function ajaxEditImRoleAction()
 {
     $this->_helper->layout->setLayout("ajax");
     $wh_id = $this->_request->getParam('wh_id', '');
     $warehouse = new Model_Warehouses();
     $warehouse_users_id = $warehouse->getWharehouseUsersId($wh_id);
     $wh_user_id = $this->_em->find('WarehouseUsers', $warehouse_users_id['0']['pkId']);
     $warehouse_id = $wh_user_id->getWarehouse()->getPkId();
     $whare_id = $this->_em->find('Warehouses', $warehouse_id);
     $users = $this->_em->find('Users', $wh_id);
     $form = new Form_Iadmin_Users();
     $form->user_id->setValue($wh_id);
     $this->view->combos_1 = 'im';
     // echo $users->getRole()->getPkId();
     $form->role->setValue($users->getRole()->getPkId());
     $this->view->form = $form;
     $base_url = Zend_Registry::get('baseurl');
     $this->view->inlineScript()->appendFile($base_url . '/js/locations_edit_combos.js');
 }