* fix a bug and notice.
This commit is contained in:
@@ -310,7 +310,7 @@ class mail extends control
|
||||
die(js::confirm($this->lang->mail->confirmDelete, inlink('batchDelete', "confirm=yes") . ($this->config->requestType == 'GET' ? '&' : '?') . "idList=$idList"));
|
||||
}
|
||||
$idList = array();
|
||||
if(isset($_GET['idList'])) $idList = explode(',', $_GET['idList']);
|
||||
if(isset($_GET['idList'])) $idList = explode('|', $_GET['idList']);
|
||||
|
||||
if($idList) $this->dao->delete()->from(TABLE_MAILQUEUE)->where('id')->in($idList)->exec();
|
||||
die(js::reload('parent'));
|
||||
|
||||
+7
-5
@@ -1178,13 +1178,15 @@ function fixStyle()
|
||||
if($actions.length) $('#titlebar > .heading').css('padding-right', $actions.width());
|
||||
}
|
||||
|
||||
/**
|
||||
* Start cron.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function startCron()
|
||||
{
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
timeout: 100,
|
||||
url: createLink('cron', 'ajaxExec')
|
||||
});
|
||||
$.ajax({type:"GET", timeout:100, url:createLink('cron', 'ajaxExec')});
|
||||
}
|
||||
|
||||
/* Ping the server every some minutes to keep the session. */
|
||||
|
||||
Reference in New Issue
Block a user