Skip to content
Permalink
Browse files

ui.datepicker: fixing a var being leaked to the global namespace(attr…

…Name).
  • Loading branch information...
flesler committed Oct 22, 2008
1 parent 0767f9a commit fd9ab96caaf4d3dbf301a6babf7d200ab23fec62
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.datepicker.js
@@ -158,7 +158,7 @@ $.extend(Datepicker.prototype, {
_attachDatepicker: function(target, settings) {
// check for settings on the control itself - in namespace 'date:'
var inlineSettings = null;
for (attrName in this._defaults) {
for (var attrName in this._defaults) {
var attrValue = target.getAttribute('date:' + attrName);
if (attrValue) {
inlineSettings = inlineSettings || {};

0 comments on commit fd9ab96

Please sign in to comment.
You can’t perform that action at this time.