Merge pull request #15338 from Bournvita1998/RnI_init

Refactoring init.js of Designer
This commit is contained in:
Isaac Bennetch 2019-06-17 22:00:09 -04:00 committed by GitHub
commit 0509497358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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';
});
});