FELIX-5123 - Script Console UI improvements
-- Drop timeout
-- Drop Language button
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1717221 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole-plugins/script-console/src/main/resources/res/ui/script-console.js b/webconsole-plugins/script-console/src/main/resources/res/ui/script-console.js
index d5c916b..b897a11 100644
--- a/webconsole-plugins/script-console/src/main/resources/res/ui/script-console.js
+++ b/webconsole-plugins/script-console/src/main/resources/res/ui/script-console.js
@@ -8,7 +8,6 @@
url:url,
data:data,
// dataType:"json",
- timeout:30000, //In millis
beforeSend:function () {
$('#ajaxSpinner').show();
},
diff --git a/webconsole-plugins/script-console/src/main/resources/templates/script-console.html b/webconsole-plugins/script-console/src/main/resources/templates/script-console.html
index 9c03db5..177c71e 100644
--- a/webconsole-plugins/script-console/src/main/resources/templates/script-console.html
+++ b/webconsole-plugins/script-console/src/main/resources/templates/script-console.html
@@ -13,7 +13,6 @@
<div class="ui-widget-header ">
<img id="ajaxSpinner" src="${appRoot}/res/imgs/loading.gif" tile="Working..." />
<button type="button" id="executeButton">${console.execute}</button>
- <button type="button" id="langButton">${console.lang}</button>
<select id="codeLang">
<option></option>
</select>
@@ -28,7 +27,7 @@
</form>
</div>
<div id="code-output">
- <textarea id="result" style="width: 90%;" readonly="yes"></textarea>
+ <textarea id="result" style="width: 90%;" readonly></textarea>
</div>
</div>