Skip to content

Commit

Permalink
Fixed #169 - Prevent hiding the select box before the attributes are …
Browse files Browse the repository at this point in the history
…copied
  • Loading branch information
gfranko committed May 17, 2013
1 parent bd2c7b6 commit bd9d557
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion demos/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@

//var select = $("select").selectBoxIt({ populate: '<option value="test">test</option>' }).data('selectBox-selectBoxIt').remove(0);

$('select').selectBoxIt({ defaultText: "test" });
$('select').selectBoxIt();

//select.refresh();

Expand Down
3 changes: 0 additions & 3 deletions src/javascripts/jquery.selectBoxIt.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,6 @@

}

// Hides the original select box
self.element.hide();

// Creates the dropdown elements that will become the dropdown
// Creates the ul element that will become the dropdown options list
// Add's all attributes (excluding id, class names, and unselectable properties) to the drop down and drop down items list
Expand Down
3 changes: 0 additions & 3 deletions src/javascripts/jquery.selectBoxIt.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,6 @@

}

// Hides the original select box
self.element.hide();

// Creates the dropdown elements that will become the dropdown
// Creates the ul element that will become the dropdown options list
// Add's all attributes (excluding id, class names, and unselectable properties) to the drop down and drop down items list
Expand Down
Loading

0 comments on commit bd9d557

Please sign in to comment.