diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2015-06-24 14:30:01 +0300 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2015-06-24 14:30:01 +0300 |
commit | a0beb6da88b88f8bcb4c64802fcb704c17cb6d06 (patch) | |
tree | fa4891c983f4916019e0b945bb3f937eec38cbba /js/pmd | |
parent | 98a3567a9ac4d00016d7a96e74dfad37ecdc7777 (diff) |
bug Missing selected/entered values when editing active options in visual query builder
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'js/pmd')
-rw-r--r-- | js/pmd/history.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/pmd/history.js b/js/pmd/history.js index 1577f4e338..3fdfcfd793 100644 --- a/js/pmd/history.js +++ b/js/pmd/history.js @@ -199,6 +199,7 @@ function history_edit(index) document.getElementById('query_having').style.display = 'block'; } if (type == "Rename") { + document.getElementById('e_rename').value = history_array[index].get_obj().getrename_to(); document.getElementById('query_rename_to').style.left = '530px'; document.getElementById('query_rename_to').style.top = '130px'; document.getElementById('query_rename_to').style.position = 'absolute'; @@ -207,6 +208,7 @@ function history_edit(index) document.getElementById('query_rename_to').style.display = 'block'; } if (type == "Aggregate") { + document.getElementById('e_operator').value = history_array[index].get_obj().get_operator(); document.getElementById('query_Aggregate').style.left = '530px'; document.getElementById('query_Aggregate').style.top = '130px'; document.getElementById('query_Aggregate').style.position = 'absolute'; |