fix for autosave
This commit is contained in:
@ -7,6 +7,9 @@ Version 1.7 ()
|
|||||||
Version 1.6 ()
|
Version 1.6 ()
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
* Fix problem with autosave plugin used in conjunction with
|
||||||
|
entryproperties (chrisbra)
|
||||||
|
|
||||||
* Removed browsercompatibilitty plugin because it's outdated and
|
* Removed browsercompatibilitty plugin because it's outdated and
|
||||||
IE6 shall be dead.
|
IE6 shall be dead.
|
||||||
|
|
||||||
|
@ -251,10 +251,11 @@ if (preg_match(PAT_ARCHIVES, $uri, $matches) || isset($serendipity['GET']['range
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo $data;
|
echo $data;
|
||||||
} else if ( preg_match(PAT_COMMENTSUB, $uri, $matches) ||
|
} else if ( (preg_match(PAT_COMMENTSUB, $uri, $matches) ||
|
||||||
preg_match(PAT_PERMALINK, $uri, $matches) ||
|
preg_match(PAT_PERMALINK, $uri, $matches) ||
|
||||||
isset($serendipity['GET']['id']) ||
|
isset($serendipity['GET']['id']) ||
|
||||||
isset($_GET['p']) ) {
|
isset($_GET['p']))
|
||||||
|
&& !preg_match('/autosave/', $serendipity['uriArguments'][1]) ) {
|
||||||
$serendipity['view'] = 'entry';
|
$serendipity['view'] = 'entry';
|
||||||
|
|
||||||
if (isset($serendipity['GET']['id'])) {
|
if (isset($serendipity['GET']['id'])) {
|
||||||
|
Reference in New Issue
Block a user