Fix arg / var mismatch

Refs #2001
This commit is contained in:
Samuel Georges 2016-05-12 08:21:17 +10:00
parent f3f8676479
commit 75003fb877
2 changed files with 2 additions and 2 deletions

View File

@ -280,7 +280,7 @@
}
}
DatePicker.prototype.getLang = function(key, defaultValue) {
DatePicker.prototype.getLang = function(name, defaultValue) {
if ($.oc === undefined || $.oc.lang === undefined) {
return defaultValue
}

View File

@ -401,7 +401,7 @@
$scope.toggleClass('active', !!switchValue)
}
FilterWidget.prototype.getLang = function(key, defaultValue) {
FilterWidget.prototype.getLang = function(name, defaultValue) {
if ($.oc === undefined || $.oc.lang === undefined) {
return defaultValue
}