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:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-05-20 06:46:43 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-05-20 06:46:43 +0300
commitc4517f98c9ac9e0f1ea87586aeecad91840d97d5 (patch)
treeab20de7c1bdc7421b3a789b2fcb3ce9d6ab72cbb /js/ajax.js
parent565ee395278c3418e110e3fee6395b31607f980f (diff)
parent9294bf9ce1fbda58c3060b10d027a77faaafce89 (diff)
Merge branch 'QA_4_4'
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'js/ajax.js')
-rw-r--r--js/ajax.js20
1 files changed, 1 insertions, 19 deletions
diff --git a/js/ajax.js b/js/ajax.js
index 868ba26c21..7ba6969b63 100644
--- a/js/ajax.js
+++ b/js/ajax.js
@@ -441,25 +441,7 @@ var AJAX = {
}
AJAX._callback = function () {};
});
- // initializes lock-page elements (textarea, input types text and number,
- // and select) lock-id and val-hash data property
- $('#page_content form.lock-page textarea, ' +
- '#page_content form.lock-page input[type="text"], '+
- '#page_content form.lock-page input[type="number"], '+
- '#page_content form.lock-page select').each(function(i){
- $(this).data('lock-id', i);
- // val-hash is the hash of default value of the field
- // so that it can be compared with new value hash
- // to check whether field was modified or not.
- $(this).data('val-hash', AJAX.hash($(this).val()));
- });
- // initializes lock-page elements (input types checkbox and radio buttons)
- // lock-id and val-hash data property
- $('#page_content form.lock-page input[type="checkbox"], ' +
- '#page_content form.lock-page input[type="radio"]').each(function(i){
- $(this).data('lock-id', i);
- $(this).data('val-hash', AJAX.hash($(this).is(":checked")));
- });
+
} else {
PMA_ajaxShowMessage(data.error, false);
AJAX.active = false;