summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/utils.js7
-rw-r--r--index.php2
2 files changed, 4 insertions, 5 deletions
diff --git a/includes/utils.js b/includes/utils.js
index 3bcde51..e2b0a6f 100644
--- a/includes/utils.js
+++ b/includes/utils.js
@@ -5,17 +5,14 @@ $(function() {
// show and hide loading bar
$(document).ajaxStart(function() {
+ $('#command_properties').attr('disabled', '');
$('.loading').show();
});
$(document).ajaxStop(function() {
+ $('#command_properties').removeAttr('disabled');
$('.loading').hide();
});
- // validate the parameters field
- $('#input-params').on('input', function() {
- var cmd = $('#query').val();
- });
-
// reset the view to the default one
$('#backhome').click(function() {
$('.content').slideDown();
diff --git a/index.php b/index.php
index 2e38c69..343843a 100644
--- a/index.php
+++ b/index.php
@@ -101,6 +101,7 @@ final class LookingGlass {
private function render_content() {
print '<div class="content" id="command_options">';
print '<form role="form" action="execute.php" method="post">';
+ print '<fieldset id="command_properties">';
foreach ($this->frontpage['order'] as $element) {
switch ($element) {
@@ -125,6 +126,7 @@ final class LookingGlass {
}
}
+ print '</fieldset>';
print '</form>';
print '</div>';
print '<div class="loading">';