Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtul Pratap Singh <atulpratapsingh05@gmail.com>2014-10-01 19:12:21 +0400
committerAtul Pratap Singh <atulpratapsingh05@gmail.com>2014-10-01 19:12:21 +0400
commit6c83a2f2e396524da9153225617c30affbe07540 (patch)
treefafc7da3b026765804d4da613a4406f2fa4818fc /js/tbl_structure.js
parentff4be7ee5a71f29921089d447e658630ef7cbfef (diff)
parenta020eac11a26977295cf2439ddd2e5b4af2c88fe (diff)
Merge commit 'a020eac11a26977295cf2439ddd2e5b4af2c88fe'
Conflicts: js/config.js js/db_search.js js/functions.js js/makegrid.js js/server_privileges.js js/tbl_structure.js
Diffstat (limited to 'js/tbl_structure.js')
-rw-r--r--js/tbl_structure.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tbl_structure.js b/js/tbl_structure.js
index bf5f626036..c62c72b6fa 100644
--- a/js/tbl_structure.js
+++ b/js/tbl_structure.js
@@ -216,7 +216,7 @@ AJAX.registerOnload('tbl_structure.js', function () {
$(this).PMA_confirm(question, $(this).attr('href'), function (url) {
var $msg = PMA_ajaxShowMessage(PMA_messages.strDroppingColumn, false);
$.get(url, {'is_js_confirmed' : 1, 'ajax_request' : true, 'ajax_page_request' : true}, function (data) {
- if (data.success === true) {
+ if (typeof data !== 'undefined' && data.success === true) {
PMA_ajaxRemoveMessage($msg);
if ($('#result_query').length) {
$('#result_query').remove();
@@ -271,7 +271,7 @@ AJAX.registerOnload('tbl_structure.js', function () {
$.get(url,
{'is_js_confirmed' : 1, 'ajax_request' : true, 'index_change' : true},
function (data) {
- if (data.success === true) {
+ if (typeof data !== 'undefined' && data.success === true) {
PMA_ajaxRemoveMessage($msg);
$(this).remove();
if (typeof data.reload != 'undefined') {
@@ -320,7 +320,7 @@ AJAX.registerOnload('tbl_structure.js', function () {
$.get(url,
{'is_js_confirmed' : 1, 'ajax_request' : true, 'index_change' : true},
function (data) {
- if (data.success === true) {
+ if (typeof data !== 'undefined' && data.success === true) {
PMA_ajaxRemoveMessage($msg);
if ($('#result_query').length) {
$('#result_query').remove();
@@ -364,7 +364,7 @@ AJAX.registerOnload('tbl_structure.js', function () {
$.get(url,
{'is_js_confirmed' : 1, 'ajax_request' : true, 'index_change' : true},
function (data) {
- if (data.success === true) {
+ if (typeof data !== 'undefined' && data.success === true) {
PMA_ajaxRemoveMessage($msg);
if ($('#result_query').length) {
$('#result_query').remove();