Browse Source

Also for wizard

tags/build/2.0.0.pre1
Ruud 13 years ago
parent
commit
dcaca7294c
  1. 7
      couchpotato/static/scripts/page/settings.js

7
couchpotato/static/scripts/page/settings.js

@ -969,6 +969,11 @@ Option.Choice = new Class({
}); });
$(tag).inject(self.tag_input); $(tag).inject(self.tag_input);
if(self.initialized > 1)
tag.setWidth();
else
(function(){ tag.setWidth(); }).delay(10, self);
self.tags.include(tag); self.tags.include(tag);
return tag; return tag;
@ -1006,7 +1011,7 @@ Option.Choice = new Class({
self.replaceInput(); self.replaceInput();
self.setAllWidth(); self.setAllWidth();
}, },
setAllWidth: function(){ setAllWidth: function(){
var self = this; var self = this;
self.tags.each(function(tag){ self.tags.each(function(tag){

Loading…
Cancel
Save