PMCORE-737
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
*/
|
||||
|
||||
use ProcessMaker\Plugins\PluginRegistry;
|
||||
use ProcessMaker\Core\System;
|
||||
|
||||
/**
|
||||
* Class headPublisher
|
||||
@@ -350,9 +351,6 @@ class headPublisher
|
||||
// enabled for particular use
|
||||
$head .= $this->getExtJsLibraries();
|
||||
|
||||
// $head .= " <script type='text/javascript' src='/js/ext/draw2d.js'></script>\n";
|
||||
// $head .= " <script type=\"text/javascript\" src=\"" . G::browserCacheFilesUrl("/js/ext/translation." . SYS_LANG . ".js") . "\"></script>\n";
|
||||
|
||||
if (!isset($this->extJsSkin) || $this->extJsSkin == '') {
|
||||
$this->extJsSkin = 'xtheme-gray';
|
||||
//$this->extJsSkin = 'gtheme';
|
||||
@@ -365,6 +363,15 @@ class headPublisher
|
||||
$head = $head . " <script type=\"text/javascript\" src=\"" . G::browserCacheFilesUrl("/js/ext/extjs_rtl.js") . "\"></script>\n";
|
||||
}
|
||||
|
||||
// Get the value defined in the ext_ajax_timeout
|
||||
if (defined('EXT_AJAX_TIMEOUT')) {
|
||||
$extAjaxTimeout = EXT_AJAX_TIMEOUT;
|
||||
} else {
|
||||
$config = System::getSystemConfiguration();
|
||||
$extAjaxTimeout = $config['ext_ajax_timeout'];
|
||||
}
|
||||
$head .= '<script>ext_ajax_timeout = ' . $extAjaxTimeout . ';</script>';
|
||||
|
||||
return $head;
|
||||
}
|
||||
|
||||
|
||||
@@ -399,6 +399,10 @@
|
||||
<index name="INDEX_APP_MSG_STATUS_ID">
|
||||
<index-column name="APP_MSG_STATUS_ID"/>
|
||||
</index>
|
||||
<index name="indexAppUidSendDate">
|
||||
<index-column name="APP_UID"/>
|
||||
<index-column name="APP_MSG_SEND_DATE"/>
|
||||
</index>
|
||||
</table>
|
||||
<table name="APP_OWNER">
|
||||
<vendor type="mysql">
|
||||
|
||||
@@ -179,7 +179,8 @@ CREATE TABLE `APP_MESSAGE`
|
||||
KEY `INDEX_TAS_ID`(`TAS_ID`),
|
||||
KEY `INDEX_APP_NUMBER`(`APP_NUMBER`),
|
||||
KEY `INDEX_APP_MSG_TYPE_ID`(`APP_MSG_STATUS_ID`),
|
||||
KEY `INDEX_APP_MSG_STATUS_ID`(`APP_MSG_STATUS_ID`)
|
||||
KEY `INDEX_APP_MSG_STATUS_ID`(`APP_MSG_STATUS_ID`),
|
||||
KEY `indexAppUidSendDate`(`APP_UID`, `APP_MSG_SEND_DATE`)
|
||||
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='Messages in an Application';
|
||||
#-----------------------------------------------------------------------------
|
||||
#-- APP_OWNER
|
||||
|
||||
@@ -3,3 +3,11 @@ var PM = PM || {};
|
||||
PM.version = '3.0.1.8';
|
||||
}());
|
||||
|
||||
// Overwrite the global ajax timeout
|
||||
try {
|
||||
if (parent.ext_ajax_timeout) {
|
||||
Ext.Ajax.timeout = parent.ext_ajax_timeout;
|
||||
}
|
||||
} catch (error) {
|
||||
// Nothing to_do
|
||||
}
|
||||
|
||||
@@ -81,7 +81,8 @@ class System
|
||||
'pmftotalcalculation_floating_point_number' => 10,
|
||||
'report_table_batch_regeneration' => 1000,
|
||||
'report_table_floating_number' => 4,
|
||||
'report_table_double_number' => 4
|
||||
'report_table_double_number' => 4,
|
||||
'ext_ajax_timeout' => 600000
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -24,7 +24,6 @@ var removeOption;
|
||||
var installOption;
|
||||
var exportOption;
|
||||
|
||||
Ext.Ajax.timeout = 300000;
|
||||
Ext.onReady(function(){
|
||||
|
||||
//Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* Jan 15th, 2011
|
||||
*/
|
||||
|
||||
Ext.Ajax.timeout = 300000;
|
||||
|
||||
Ext.onReady(function(){
|
||||
var fieldNameWS,
|
||||
|
||||
@@ -334,6 +334,7 @@ define('DISABLE_DOWNLOAD_DOCUMENTS_SESSION_VALIDATION', $config['disable_downloa
|
||||
define('LOGS_MAX_FILES', $config['logs_max_files']);
|
||||
define('LOGS_LOCATION', $config['logs_location']);
|
||||
define('LOGGING_LEVEL', $config['logging_level']);
|
||||
define('EXT_AJAX_TIMEOUT', $config['ext_ajax_timeout']);
|
||||
define('TIME_ZONE', ini_get('date.timezone'));
|
||||
/*----------------------------------********---------------------------------*/
|
||||
define('HIGHLIGHT_HOME_FOLDER_ENABLE', $config['highlight_home_folder_enable'] === "1");
|
||||
|
||||
Reference in New Issue
Block a user