BUG 9626 Simple Reports Permissions SOLVED
- According to the specifications. - Was add the list for add/remove permissions.
This commit is contained in:
@@ -171,25 +171,5 @@ class pmTables extends Controller
|
|||||||
}
|
}
|
||||||
return $repTabPluginPermissions;
|
return $repTabPluginPermissions;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* reportPermissionForm pmtable
|
|
||||||
* @param string $httpData->ADD_TAB_UID
|
|
||||||
* @param string $httpData->ADD_TAB_NAME
|
|
||||||
*/
|
|
||||||
public function rptPermissionList($httpData)
|
|
||||||
{
|
|
||||||
$this->setJSVar('ADD_TAB_NAME', $httpData->ADD_TAB_NAME);
|
|
||||||
$this->setJSVar('ADD_TAB_UID', $httpData->ADD_TAB_UID);
|
|
||||||
$this->setJSVar('PRO_UID', $httpData->PRO_UID);
|
|
||||||
|
|
||||||
$this->includeExtJS('pmReports/rptPermissionList', false);
|
|
||||||
$this->includeExtJS('pmReports/reportPermissionForm', false);
|
|
||||||
$this->setView('pmReports/reportPermissionForm');
|
|
||||||
$this->setView('pmReports/rptPermissionList');
|
|
||||||
|
|
||||||
G::RenderPage('publish', 'extJs');
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -706,11 +706,10 @@ function updateTag(value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
function updateTagPermissions(){
|
function updateTagPermissions(){
|
||||||
var rowsSelected = Ext.getCmp('infoGrid').getSelectionModel().getSelections();
|
var rowsSelected = Ext.getCmp('infoGrid').getSelectionModel().getSelections();
|
||||||
if (rowsSelected){
|
if (rowsSelected){
|
||||||
console.info(rowsSelected);
|
location.href = 'pmReports/reportsAjax?action=permissionList&ADD_TAB_NAME='+ rowsSelected[0].get('ADD_TAB_NAME') +'&ADD_TAB_UID='+ rowsSelected[0].get('ADD_TAB_UID')+'&pro_uid='+PRO_UID;
|
||||||
location.href = 'pmTables/rptPermissionList?ADD_TAB_NAME='+ rowsSelected[0].get('ADD_TAB_NAME') +'&ADD_TAB_UID='+ rowsSelected[0].get('ADD_TAB_UID')+'&PRO_UID='+PRO_UID;
|
}
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
function PopupCenter(pageURL, title,w,h) {
|
function PopupCenter(pageURL, title,w,h) {
|
||||||
|
|||||||
Reference in New Issue
Block a user