mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
ba98736dfb
|
@ -103,6 +103,11 @@
|
|||
- add document list which can be exported as an archive
|
||||
- search results can be exported
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 5.1.8
|
||||
--------------------------------------------------------------------------------
|
||||
- fix javascript errors when an error page was shown
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 5.1.7
|
||||
--------------------------------------------------------------------------------
|
||||
|
|
|
@ -1522,6 +1522,23 @@ $(document).ready(function() {
|
|||
|
||||
function exitError($pagetitle, $error, $noexit=false, $plain=false) { /* {{{ */
|
||||
|
||||
/* This is just a hack to prevent creation of js files in an error
|
||||
* case, because they will contain this error page again. It would be much
|
||||
* better, if there was extra error() function similar to show() and calling
|
||||
* $view() after setting the action to 'error'. This would also allow to
|
||||
* set separate error pages for each view.
|
||||
*/
|
||||
if(!$noexit) {
|
||||
if(in_array($_REQUEST['action'], array('js', 'footerjs'))) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if($_REQUEST['action'] == 'webrootjs') {
|
||||
$this->webrootjs();
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
if(!$plain) {
|
||||
$this->htmlStartPage($pagetitle);
|
||||
$this->globalNavigation();
|
||||
|
|
Loading…
Reference in New Issue
Block a user