Wyvern
ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4
Back to this add-on's main page
View Other Add-ons From Rein de Vries
JS Error in wyvern/plugin.js EE.publish.autosave is undefined
General
komtur
|
Posted: 28 March 2012 03:59 AM |
|
|
|
Error: in /themes/third_party/wyvern/plugins/wyvern/plugin.js?t=B8DJ5M3
if(typeof EE.publish == "object" && EE.publish.autosave.interval > 10)
EE.publish.autosave is undefined
I can set in EE
$config[‘autosave_interval_seconds’] = 30;
$config[‘autosave_interval_seconds’] = ‘30’;
or do not set it.
No difference.
|
|
|
litzinger
|
Posted: 29 March 2012 02:53 PM |
# 1
|
|
Developer
|
Where are you using the Wyvern field? In the CP or in a SAEF?
Change that line to this and see if it works:
if(typeof EE.publish == "object" && EE.publish.autosave == "object" && EE.publish.autosave.interval > 10)
|
|
|
komtur
|
Posted: 29 March 2012 03:22 PM |
# 2
|
|
|
Works perfect. JS Error is gone. Thanx for quick response.
To answer your question: it was SAEF
|
|
|
litzinger
|
Posted: 29 March 2012 03:24 PM |
# 3
|
|
Developer
|
Ah. Yeah, I noticed this on one of my projects a couple weeks ago and added that JS fix. It’ll be in the next update.
|
|
|