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();
|
||||
}
|
||||
});
|
||||
ko.applyBindings(managedRepositoriesViewModel,$("#main-content #managed-repositories-table").get(0));
|
||||
ko.applyBindings(managedRepositoriesViewModel,$("#main-content #managed-repositories-bulk-save-btn").get(0));
|
||||
ko.applyBindings(managedRepositoriesViewModel,$("#main-content #managed-repositories-view").get(0));
|
||||
|
||||
$("#main-content #managed-repositories-pills a:first").tab('show');
|
||||
removeMediumSpinnerImg("#main-content #managed-repositories-content");
|
||||
activateManagedRepositoriesGridTab();
|
||||
|
|
|
@ -40,13 +40,13 @@
|
|||
</li>
|
||||
</ul>
|
||||
<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">
|
||||
<table class="table table-striped table-bordered" id="managed-repositories-table"
|
||||
data-bind="simpleGrid: gridViewModel,simpleGridTemplate:'ko_managed-repositoriesGrid',pageLinksId:'managed-repositoriesPagination',data:'managedRepositories'">
|
||||
</table>
|
||||
<div id="managed-repositoriesPagination"></div>
|
||||
<div id="managed-repositories-pom-snippet"></div>
|
||||
<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"
|
||||
data-bind="simpleGrid: gridViewModel,simpleGridTemplate:'ko_managed-repositoriesGrid',pageLinksId:'managed-repositoriesPagination',data:'managedRepositories'">
|
||||
</table>
|
||||
<div id="managed-repositoriesPagination"></div>
|
||||
<div id="managed-repositories-pom-snippet"></div>
|
||||
</div>
|
||||
<div id="managed-repository-edit" class="pill-pane" data-bind='template: {name:"managed-repository-edit-tmpl"}'>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue