1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-28 07:41:55 +03:00

taken care by sql.js in client side

This commit is contained in:
Spun Nakandala
2013-07-22 22:50:50 +05:30
parent ea81960b6c
commit d80fa9452e
2 changed files with 3 additions and 13 deletions

View File

@@ -361,7 +361,9 @@ AJAX.registerOnload('sql.js', function () {
/**
* Ajax Event for table row change
* */
$("#resultsForm.ajax .mult_submit[value=edit]").live('click', function (event) {
$("#resultsForm.ajax .mult_submit[value=edit]," +
"#resultsForm.ajax .mult_submit[value=delete]," +
"#resultsForm.ajax .mult_submit[value=export]").live('click', function (event) {
event.preventDefault();
/*Check whether atleast one row is selected for change*/

View File

@@ -12,18 +12,6 @@
require_once 'libraries/common.inc.php';
require_once 'libraries/mysql_charsets.inc.php';
/**
* No rows were selected => show again the query and tell that user.
*/
if (! PMA_isValid($_REQUEST['rows_to_delete'], 'array')
&& ! isset($_REQUEST['mult_btn'])
) {
$disp_message = __('No rows selected');
$disp_query = '';
include 'sql.php';
exit;
}
if (isset($_REQUEST['submit_mult'])) {
$submit_mult = $_REQUEST['submit_mult'];
// workaround for IE problem: