Skip to content

Commit

Permalink
- Version fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WRidder committed May 4, 2015
1 parent d2fc5c5 commit b57137e
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 18 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backgrid-columnmanager",
"version": "0.2.1",
"version": "0.2.2",
"homepage": "https:/WRidder/Backgrid.ColumnManager",
"authors": [
"Wilbert van de Ridder <[email protected]>"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ <h3 class="name"><code>close</code></h3>



<a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l841"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:841</code></a>
<a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l845"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:845</code></a>

</p>

Expand Down Expand Up @@ -420,7 +420,7 @@ <h3 class="name"><code>closeOnEsc</code></h3>



<a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l861"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:861</code></a>
<a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l865"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:865</code></a>

</p>

Expand Down Expand Up @@ -500,7 +500,7 @@ <h3 class="name"><code>deferClose</code></h3>



<a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l874"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:874</code></a>
<a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l878"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:878</code></a>

</p>

Expand Down Expand Up @@ -781,7 +781,7 @@ <h3 class="name"><code>open</code></h3>



<a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l808"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:808</code></a>
<a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l812"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:812</code></a>

</p>

Expand Down Expand Up @@ -916,7 +916,7 @@ <h3 class="name"><code>setup</code></h3>



<a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l765"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:765</code></a>
<a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l769"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:769</code></a>

</p>

Expand Down Expand Up @@ -972,7 +972,7 @@ <h3 class="name"><code>stopDeferClose</code></h3>



<a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l882"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:882</code></a>
<a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l886"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:886</code></a>

</p>

Expand Down Expand Up @@ -1038,7 +1038,7 @@ <h3 class="name"><code>stopPropagation</code></h3>



<a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l780"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:780</code></a>
<a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l784"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:784</code></a>

</p>

Expand Down Expand Up @@ -1126,7 +1126,7 @@ <h3 class="name"><code>toggle</code></h3>



<a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l793"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:793</code></a>
<a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l797"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:797</code></a>

</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ <h1>Backgrid.Extension.ColumnVisibilityHeaderCell Class</h1>


<div class="foundat">
Defined in: <a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l891"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:891</code></a>
Defined in: <a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l895"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:895</code></a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/modules/Backgrid.ColumnManager.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ <h1>Backgrid.ColumnManager Module</h1>


<div class="foundat">
Defined in: <a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l891"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:891</code></a>
Defined in: <a href="../files/D:_Github_backgrid-columnmanager_src_Backgrid.ColumnManager.js.html#l895"><code>D:\Github\backgrid-columnmanager\src\Backgrid.ColumnManager.js:895</code></a>
</div>


Expand Down
12 changes: 8 additions & 4 deletions lib/Backgrid.ColumnManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ return /******/ (function(modules) { // webpackBootstrap
this.options = opts;
this.columnManager = opts.columnManager;
this.ItemView = (opts.DropdownItemView instanceof Backbone.View) ? opts.DropdownItemView : DropDownItemView;
this.button = opts.button;
this.$dropdownButton = opts.$dropdownButton;

this.on("dropdown:opened", this.open, this);
this.on("dropdown:closed", this.close, this);
Expand Down Expand Up @@ -650,7 +650,7 @@ return /******/ (function(modules) { // webpackBootstrap
this.$el.addClass("open");

// Get button
var $button = this.$el.parent().find(".dropdown-button").first();
var $button = this.$dropdownButton;

// Align
var align;
Expand Down Expand Up @@ -805,11 +805,15 @@ return /******/ (function(modules) { // webpackBootstrap
this.$el.width(this.options.width + "px");
}

// Create button element
this.$dropdownButton = $(this.options.buttonTemplate());

var viewOptions = {
columnManager: this.columnManager,
DropdownItemView: this.options.DropdownItemView,
dropdownItemTemplate: this.options.dropdownItemTemplate,
align: this.options.dropdownAlign
align: this.options.dropdownAlign,
$dropdownButton: this.$dropdownButton
};

// Check if a different childView has been provided, if not, use default dropdown view
Expand All @@ -825,7 +829,7 @@ return /******/ (function(modules) { // webpackBootstrap
this.$el.empty();

// Render button
this.$el.append(this.options.buttonTemplate());
this.$el.append(this.$dropdownButton);

// Render inner view
this.view.render(); // tell the inner view to render itself
Expand Down
2 changes: 1 addition & 1 deletion lib/Backgrid.ColumnManager.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backgrid-columnmanager",
"version": "0.2.1",
"version": "0.2.2",
"description": "A backgrid column manager. Adds the ability to show/hide columns.",
"main": "lib/Backgrid.ColumnManager.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/Backgrid.ColumnManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ Backgrid.Extension.ColumnManagerVisibilityControl = Backbone.View.extend({
this.$el.empty();

// Render button
this.$el.append(this.options.buttonTemplate());
this.$el.append(this.$dropdownButton);

// Render inner view
this.view.render(); // tell the inner view to render itself
Expand Down

0 comments on commit b57137e

Please sign in to comment.