diff options
author | Thilanka Kaushalya <lgtkaushalya@gmail.com> | 2011-07-06 18:25:57 +0400 |
---|---|---|
committer | Thilanka Kaushalya <lgtkaushalya@gmail.com> | 2011-07-06 18:25:57 +0400 |
commit | 37641b3404be795d894852829045da1f5db3fa17 (patch) | |
tree | 5a75e3192c4675c29abb117cb2478159ddc089ba /js/indexes.js | |
parent | a88054dae9a969c0c9ec6477fce130b70a777749 (diff) |
Fixed bugs in index edit
Diffstat (limited to 'js/indexes.js')
-rw-r--r-- | js/indexes.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/indexes.js b/js/indexes.js index ef6f877bdd..076bf6f230 100644 --- a/js/indexes.js +++ b/js/indexes.js @@ -56,7 +56,7 @@ function checkIndexType() /** * @var Object Table header for the size column. */ - $size_header = $('thead tr th:nth-child(2)'); + $size_header = $('#index_columns thead tr th:nth-child(2)'); /** * @var Object Inputs to specify the columns for the index. */ @@ -132,7 +132,7 @@ function checkIndexType() */ $(document).ready(function() { checkIndexType(); - $('#select_index_type').bind('change', checkIndexType); + $('#select_index_type').live('change', checkIndexType); }); /**#@- */ |