diff options
author | Atul Pratap Singh <atulpratapsingh05@gmail.com> | 2014-10-01 19:12:21 +0400 |
---|---|---|
committer | Atul Pratap Singh <atulpratapsingh05@gmail.com> | 2014-10-01 19:12:21 +0400 |
commit | 6c83a2f2e396524da9153225617c30affbe07540 (patch) | |
tree | fafc7da3b026765804d4da613a4406f2fa4818fc /js/indexes.js | |
parent | ff4be7ee5a71f29921089d447e658630ef7cbfef (diff) | |
parent | a020eac11a26977295cf2439ddd2e5b4af2c88fe (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/indexes.js')
-rw-r--r-- | js/indexes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/indexes.js b/js/indexes.js index 17ba19d0ec..6d2e4dcaa3 100644 --- a/js/indexes.js +++ b/js/indexes.js @@ -514,7 +514,7 @@ AJAX.registerOnload('indexes.js', function () { $anchor.PMA_confirm(question, $anchor.attr('href'), function (url) { var $msg = PMA_ajaxShowMessage(PMA_messages.strDroppingPrimaryKeyIndex, false); $.get(url, {'is_js_confirmed': 1, 'ajax_request': true}, function (data) { - if (data.success === true) { + if (typeof data !== 'undefined' && data.success === true) { PMA_ajaxRemoveMessage($msg); var $table_ref = $rows_to_hide.closest('table'); if ($rows_to_hide.length == $table_ref.find('tbody > tr').length) { |