Submit
Path:
~
/
/
opt
/
psa
/
phpMyAdmin
/
js
/
src
/
designer
/
File Content:
init.js
/** * Initializes the data required to run Designer, then fires it up. */ /* global DesignerOfflineDB */ // js/designer/database.js /* global DesignerHistory */ // js/designer/history.js /* global DesignerMove */ // js/designer/move.js /* global DesignerPage */ // js/designer/page.js /* global designerConfig */ // templates/database/designer/main.twig /* eslint-disable no-unused-vars */ var jTabs; var hTabs; var contr; var displayField; var server; var selectedPage; /* eslint-enable no-unused-vars */ var db; var designerTablesEnabled; AJAX.registerTeardown('designer/init.js', function () { $('.trigger').off('click'); }); AJAX.registerOnload('designer/init.js', function () { $('.trigger').on('click', function () { $('.panel').toggle('fast'); $(this).toggleClass('active'); $('#ab').accordion('refresh'); return false; }); jTabs = designerConfig.scriptTables.j_tabs; hTabs = designerConfig.scriptTables.h_tabs; contr = designerConfig.scriptContr; displayField = designerConfig.scriptDisplayField; server = designerConfig.server; selectedPage = designerConfig.displayPage; db = designerConfig.db; designerTablesEnabled = designerConfig.tablesEnabled; DesignerMove.main(); if (! designerTablesEnabled) { DesignerOfflineDB.open(function (success) { if (success) { DesignerPage.showTablesInLandingPage(db); } }); } $('#query_Aggregate_Button').on('click', function () { $('#query_Aggregate').css('display', 'none'); }); $('#query_having_button').on('click', function () { $('#query_having').css('display', 'none'); }); $('#query_rename_to_button').on('click', function () { $('#query_rename_to').css('display', 'none'); }); $('#build_query_button').on('click', function () { DesignerHistory.buildQuery('SQL Query on Database', 0); }); $('#query_where_button').on('click', function () { $('#query_where').css('display', 'none'); }); });
Edit
Rename
Chmod
Delete
FILE
FOLDER
INFO
Name
Size
Permission
Action
database.js
6382 bytes
0644
history.js
29019 bytes
0644
init.js
2080 bytes
0644
move.js
82357 bytes
0644
objects.js
718 bytes
0644
page.js
6283 bytes
0644
N4ST4R_ID | Naxtarrr