BUG 8226 solved the problem for IE8 and lowers.
This commit is contained in:
@@ -610,6 +610,11 @@ ExportPMTable = function(){
|
|||||||
PMTableData = function()
|
PMTableData = function()
|
||||||
{
|
{
|
||||||
var row = Ext.getCmp('infoGrid').getSelectionModel().getSelected();
|
var row = Ext.getCmp('infoGrid').getSelectionModel().getSelected();
|
||||||
|
if ((Ext.isIE8) ||(Ext.isIE7)){
|
||||||
|
var url = 'pmTables/data?id='+row.get('ADD_TAB_UID')+'&type='+row.get('TYPE');
|
||||||
|
PopupCenter(url, 's', 800, 410);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
//location.href = 'pmTables/data?id='+row.get('ADD_TAB_UID');
|
//location.href = 'pmTables/data?id='+row.get('ADD_TAB_UID');
|
||||||
if (row.get('TYPE') != '') {
|
if (row.get('TYPE') != '') {
|
||||||
PMExt.info(_('ID_INFO'), _('ID_DATA_LIST_NOT_AVAILABLE_FOR_OLDVER'));
|
PMExt.info(_('ID_INFO'), _('ID_DATA_LIST_NOT_AVAILABLE_FOR_OLDVER'));
|
||||||
@@ -687,3 +692,8 @@ function updateTag(value)
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function PopupCenter(pageURL, title,w,h) {
|
||||||
|
var left = (Ext.getBody().getViewSize().width/3);
|
||||||
|
var top = (Ext.getBody().getViewSize().height/3);
|
||||||
|
var targetWin = window.open (pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
|
||||||
|
}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ var outputdocsEditor;
|
|||||||
|
|
||||||
function outputdocsEdit( uid, typ ) {
|
function outputdocsEdit( uid, typ ) {
|
||||||
|
|
||||||
if( _BROWSER.name == 'msie' ) {
|
if (( _BROWSER.name == 'msie' ) && ( _BROWSER.version < '9' )) {
|
||||||
PopupCenter('../outputdocs/outputdocs_Edit?OUT_DOC_UID=' + uid, 's', 800, 410);
|
PopupCenter('../outputdocs/outputdocs_Edit?OUT_DOC_UID=' + uid, 's', 800, 410);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user