[Tiki-devel] JavaScript error from Plugin Help on dev.tiki.org

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Tiki-devel] JavaScript error from Plugin Help on dev.tiki.org

Cloutier, Philippe (DGARI-Consultant)
If I try inserting a plugin call on dev.tiki.org using the Plugin Help tab of the Edit Help dialog, for example while editing a wiki page, I get the following error rather than the expected dialog:
min_main_629acf4....js:7975 Uncaught ReferenceError: dialogSelectElement is not defined
    at window.popupPluginForm (min_main_629acf4....js:7975)
    at HTMLDocument.eval (tiki-editpage.php?page=Overview:1)
    at HTMLDocument.e (min_main_629acf4....js:173)
    at HTMLDocument.dispatch (min_main_629acf4....js:173)
    at HTMLDocument.q.handle (min_main_629acf4....js:173)
    at Object.trigger (min_main_629acf4....js:174)
    at HTMLDivElement.<anonymous> (min_main_629acf4....js:174)
    at Function.each (min_main_629acf4....js:172)
    at a.fn.init.each (min_main_629acf4....js:172)
    at a.fn.init.trigger (min_main_629acf4....js:174)

For example, this happens with the Anchor Link plugin.

This does not happen if I disable Minify JavaScript. But it is not solved by clearing server cache nor browser cache.

dev.tiki.org is at r63254. This does not happen on my local 17.x install, nor on doc.tiki.org. This affects Google Chrome.


By the way, in the admin panels, the "Search preferences..." box displays too high. This does not affect my local 17 (which uses the default theme).

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
TikiWiki-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Tiki-devel] JavaScript error from Plugin Help on dev.tiki.org

Jonny Bradley-4
Hi Chealer,

I just tried this (having re-enabled minify js) and it seems to work ok now - i added a couple of plugins from the help dialog on https://dev.tiki.org/test - so maybe it was part of the minified js issues we saw last week (caused by some incorrect js code by me in h5p)?

If it happens again (i'll leave it enabled for now) then check if there were any js error before trying the plugin insert, i'll try and check tomorrow too in case it's related to the svnup cron job somehow.

jonny




> On 13 Jul 2017, at 20:17, Cloutier, Philippe (DGARI-Consultant) <[hidden email]> wrote:
>
> If I try inserting a plugin call on dev.tiki.org using the Plugin Help tab of the Edit Help dialog, for example while editing a wiki page, I get the following error rather than the expected dialog:
> min_main_629acf4....js:7975 Uncaught ReferenceError: dialogSelectElement is not defined
>    at window.popupPluginForm (min_main_629acf4....js:7975)
>    at HTMLDocument.eval (tiki-editpage.php?page=Overview:1)
>    at HTMLDocument.e (min_main_629acf4....js:173)
>    at HTMLDocument.dispatch (min_main_629acf4....js:173)
>    at HTMLDocument.q.handle (min_main_629acf4....js:173)
>    at Object.trigger (min_main_629acf4....js:174)
>    at HTMLDivElement.<anonymous> (min_main_629acf4....js:174)
>    at Function.each (min_main_629acf4....js:172)
>    at a.fn.init.each (min_main_629acf4....js:172)
>    at a.fn.init.trigger (min_main_629acf4....js:174)
>
> For example, this happens with the Anchor Link plugin.
>
> This does not happen if I disable Minify JavaScript. But it is not solved by clearing server cache nor browser cache.
>
> dev.tiki.org is at r63254. This does not happen on my local 17.x install, nor on doc.tiki.org. This affects Google Chrome.
>
>
> By the way, in the admin panels, the "Search preferences..." box displays too high. This does not affect my local 17 (which uses the default theme).
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> TikiWiki-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
TikiWiki-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel