incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1439401 - /sling/trunk/contrib/scripting/script-console/src/main/resources/res/ui/script-console.js
Date Mon, 28 Jan 2013 13:44:34 GMT
Author: bdelacretaz
Date: Mon Jan 28 13:44:34 2013
New Revision: 1439401

URL: http://svn.apache.org/viewvc?rev=1439401&view=rev
Log:
SLING-2715 - fix for JQuery 1.8.x changes, contributed the Chetan Mehrotra, thanks!

Modified:
    sling/trunk/contrib/scripting/script-console/src/main/resources/res/ui/script-console.js

Modified: sling/trunk/contrib/scripting/script-console/src/main/resources/res/ui/script-console.js
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/script-console/src/main/resources/res/ui/script-console.js?rev=1439401&r1=1439400&r2=1439401&view=diff
==============================================================================
--- sling/trunk/contrib/scripting/script-console/src/main/resources/res/ui/script-console.js
(original)
+++ sling/trunk/contrib/scripting/script-console/src/main/resources/res/ui/script-console.js
Mon Jan 28 13:44:34 2013
@@ -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){



Mime
View raw message