You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:02:25 UTC
[sling-org-apache-sling-scripting-console] 06/09: SLING-2715 - fix
for JQuery 1.8.x changes, contributed the Chetan Mehrotra, thanks!
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.scripting.console-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-console.git
commit 5940a111b4bbd491054df2b6ac012ef062fe02d5
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Mon Jan 28 13:44:34 2013 +0000
SLING-2715 - fix for JQuery 1.8.x changes, contributed the Chetan Mehrotra, thanks!
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/scripting/script-console@1439401 13f79535-47bb-0310-9956-ffa450edef68
---
src/main/resources/res/ui/script-console.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/resources/res/ui/script-console.js b/src/main/resources/res/ui/script-console.js
index fece644..45883ad 100644
--- a/src/main/resources/res/ui/script-console.js
+++ b/src/main/resources/res/ui/script-console.js
@@ -66,7 +66,7 @@ function setLangMode(editor, modeName) {
function setUpLangOptions() {
var codeLang = $('#codeLang')
- var options = codeLang.attr('options');
+ var options = codeLang.prop ? codeLang.prop('options') : codeLang.attr('options');
codeLang.empty()
for(var i in scriptConfig){
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.