You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2013/01/29 10:55:12 UTC
[jira] [Commented] (SLING-2715) Script List does not get populated
in Script Console plugin with newer WebConsole
[ https://issues.apache.org/jira/browse/SLING-2715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13565234#comment-13565234 ]
Bertrand Delacretaz commented on SLING-2715:
--------------------------------------------
Looks to me like the "lang" variable is not used in
function updateWithOption(opt){
var lang = getProp(opt,'langMode')
setLangMode(inputEditor,opt.prop('langMode'))
$('[name=lang]').val(opt.val())
}
and yes, creating a new issue is better IMO as it's a different problem
> Script List does not get populated in Script Console plugin with newer WebConsole
> ----------------------------------------------------------------------------------
>
> Key: SLING-2715
> URL: https://issues.apache.org/jira/browse/SLING-2715
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Reporter: Chetan Mehrotra
> Attachments: SLING-2715.patch, SLING-2715-v2.patch
>
>
> The Sling Script Console (SLING-2463) does not work with newer WebConsole which use jQuery 1.8.x. In newer WebConsole the Script drop down list does not get populated.
> In JS Console following error is shown
> TypeError: options is undefined
> [Break On This Error]
> options[options.length] = opt
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira