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:
authorMichal Čihař <mcihar@suse.cz>2013-04-15 14:03:11 +0400
committerMichal Čihař <mcihar@suse.cz>2013-04-15 14:03:11 +0400
commit020a3e1ce401163b6000022a723748721823e67a (patch)
tree0e403526607d7751d9e2fa1ff0a76076e400e983 /js/db_search.js
parent4f31f7fa1e6137204e502119d2890bca0d01d9c6 (diff)
Use type cast safe comparison
The values like true, '' or 0 could compare to lot of other stuff with type casting.
Diffstat (limited to 'js/db_search.js')
-rw-r--r--js/db_search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/db_search.js b/js/db_search.js
index 495abadc38..f2a5178bd1 100644
--- a/js/db_search.js
+++ b/js/db_search.js
@@ -194,7 +194,7 @@ AJAX.registerOnload('db_search.js', function() {
var url = $form.serialize() + "&submit_search=" + $("#buttonGo").val();
$.post($form.attr('action'), url, function(data) {
- if (data.success == true) {
+ if (data.success === true) {
// found results
$("#searchresults").html(data.message);