Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) C:\dmz\phpMyAdmin\js\ drwxrwxrwx |
Viewing file: db_qbe.js (1.48 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * @fileoverview function used in QBE for DB * @name Database Operations * * @requires jQuery * @requires jQueryUI * @requires js/functions.js * */ /** * Ajax event handlers here for db_qbe.php * * Actions Ajaxified here: * Select saved search */ /** * Unbind all event handlers before tearing down a page */ AJAX.registerTeardown('db_qbe.js', function () { $("#searchId").die('change'); $("#saveSearch").die('click'); $("#updateSearch").die('click'); $("#deleteSearch").die('click'); }); AJAX.registerOnload('db_qbe.js', function () { /** * Ajax event handlers for 'Select saved search' */ $("#searchId").live('change', function (event) { $('#action').val('load'); $('#formQBE').submit(); }); /** * Ajax event handlers for 'Create bookmark' */ $("#saveSearch").live('click', function (event) { $('#action').val('create'); }); /** * Ajax event handlers for 'Update bookmark' */ $("#updateSearch").live('click', function (event) { $('#action').val('update'); }); /** * Ajax event handlers for 'Delete bookmark' */ $("#deleteSearch").live('click', function (event) { var question = $.sprintf(PMA_messages.strConfirmDeleteQBESearch, $("#searchId option:selected").text()); if (!confirm(question)) { return false; } $('#action').val('delete'); }); }); |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]-- |