Refactoring init.js of Designer

Signed-off-by: Bournvita1998 <mohit.kuri@research.iiit.ac.in>
This commit is contained in:
Bournvita1998 2019-06-17 07:02:49 +05:30
parent 36af7971bc
commit fec7de8d50

View File

@ -54,15 +54,15 @@ AJAX.registerOnload('designer/init.js', function () {
}
$('#query_Aggregate_Button').on('click', function () {
document.getElementById('query_Aggregate').style.display = 'none';
$('#query_Aggregate').style.display = 'none';
});
$('#query_having_button').on('click', function () {
document.getElementById('query_having').style.display = 'none';
$('#query_having').style.display = 'none';
});
$('#query_rename_to_button').on('click', function () {
document.getElementById('query_rename_to').style.display = 'none';
$('#query_rename_to').style.display = 'none';
});
$('#build_query_button').on('click', function () {
@ -70,6 +70,6 @@ AJAX.registerOnload('designer/init.js', function () {
});
$('#query_where_button').on('click', function () {
document.getElementById('query_where').style.display = 'none';
$('#query_where').style.display = 'none';
});
});