diff --git a/application/views/version_dialog/index.php b/application/views/version_dialog/index.php new file mode 100644 index 00000000..6dd7c370 --- /dev/null +++ b/application/views/version_dialog/index.php @@ -0,0 +1 @@ +

TEST DATA

diff --git a/assets/js/sections/version_dialog.js b/assets/js/sections/version_dialog.js index 9e60bffb..0004bef8 100644 --- a/assets/js/sections/version_dialog.js +++ b/assets/js/sections/version_dialog.js @@ -19,4 +19,19 @@ $('#version_dialog_mode').on('change', function () { showCustomTextarea(); }); -// \ No newline at end of file +function displayVersionDialog() { + BootstrapDialog.show({ + title: 'Stored Queries', + type: BootstrapDialog.TYPE_WARNING, + size: BootstrapDialog.SIZE_NORMAL, + cssClass: 'queries-dialog', + nl2br: false, + message: 'You need to make a query before you search!', + buttons: [{ + label: lang_admin_close, + action: function(dialogItself) { + dialogItself.close(); + } + }] + }); +} \ No newline at end of file