mirror of https://github.com/apache/archiva.git
no need to apply binding twice
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240938 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cd2f77122c
commit
1d6c716eba
|
@ -815,8 +815,8 @@ $(function() {
|
||||||
$("#main-content #managed-repositories-table [title]").tooltip();
|
$("#main-content #managed-repositories-table [title]").tooltip();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
ko.applyBindings(managedRepositoriesViewModel,$("#main-content #managed-repositories-table").get(0));
|
ko.applyBindings(managedRepositoriesViewModel,$("#main-content #managed-repositories-view").get(0));
|
||||||
ko.applyBindings(managedRepositoriesViewModel,$("#main-content #managed-repositories-bulk-save-btn").get(0));
|
|
||||||
$("#main-content #managed-repositories-pills a:first").tab('show');
|
$("#main-content #managed-repositories-pills a:first").tab('show');
|
||||||
removeMediumSpinnerImg("#main-content #managed-repositories-content");
|
removeMediumSpinnerImg("#main-content #managed-repositories-content");
|
||||||
activateManagedRepositoriesGridTab();
|
activateManagedRepositoriesGridTab();
|
||||||
|
|
|
@ -40,8 +40,8 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div id="managed-repositories-tabs-content" class="pill-content">
|
<div id="managed-repositories-tabs-content" class="pill-content">
|
||||||
<div id="managed-repositories-bulk-save-btn" data-bind='template:{name:"managed-repositories-bulk-save-tmpl"}'></div>
|
|
||||||
<div id="managed-repositories-view" class="pill-pane active">
|
<div id="managed-repositories-view" class="pill-pane active">
|
||||||
|
<div id="managed-repositories-bulk-save-btn" data-bind='template:{name:"managed-repositories-bulk-save-tmpl"}'></div>
|
||||||
<table class="table table-striped table-bordered" id="managed-repositories-table"
|
<table class="table table-striped table-bordered" id="managed-repositories-table"
|
||||||
data-bind="simpleGrid: gridViewModel,simpleGridTemplate:'ko_managed-repositoriesGrid',pageLinksId:'managed-repositoriesPagination',data:'managedRepositories'">
|
data-bind="simpleGrid: gridViewModel,simpleGridTemplate:'ko_managed-repositoriesGrid',pageLinksId:'managed-repositoriesPagination',data:'managedRepositories'">
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue