1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-29 21:24:44 +03:00

Initialize to null for '!== null' checks to work

This commit is contained in:
Madhura Jayaratne
2013-05-04 14:37:50 +05:30
parent ee8c489587
commit ce77a26a73
2 changed files with 2 additions and 2 deletions

View File

@@ -216,7 +216,7 @@ JQPlotChartFactory.prototype.createChart = function (type, elementId) {
*/
var JQPlotChart = function (elementId) {
Chart.call(this, elementId);
this.plot;
this.plot = null;
this.validator;
};
JQPlotChart.prototype = new Chart();

View File

@@ -405,7 +405,7 @@ AJAX.registerOnload('server_privileges.js', function () {
// If any option other than 'keep the old one'(option 4) is chosen, we need to remove
// the old one from the table.
var $row_to_remove;
var $row_to_remove = null;
if (curr_submit_name == 'change_copy'
&& $('input[name=mode]:checked', '#fieldset_mode').val() != '4') {
var old_username = $t.find('input[name="old_username"]').val();