fix button class

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1300905 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-03-15 10:49:09 +00:00
parent f9b99be3b9
commit b776661f0a
3 changed files with 4 additions and 3 deletions

View File

@ -851,7 +851,7 @@ $(function() {
searchViewModel.observableRepoIds(repos);
ko.applyBindings(searchViewModel,mainContent.find("#search-artifacts-div").get(0));
mainContent.find("#search-basic-repostories-select" ).chosen();
if (successCallbackFn!=null) successCallbackFn();
if (successCallbackFn && $.isFunction(successCallbackFn)) successCallbackFn();
}
});

View File

@ -41,7 +41,8 @@
</form>
</div>
<div class="modal-footer" id="modal-login-footer">
<button class="btn primary" id="modal-login-ok">${$.i18n.prop('login')}</button>
<button class="btn btn-primary" id="modal-login-ok">${$.i18n.prop('login')}</button>
<button class="btn btn-info" id="modal-login-password-reset">${$.i18n.prop('password.reset')}</button>
</div>
</div>

View File

@ -48,6 +48,6 @@
</form>
</div>
<div class="modal-footer" id="modal-register-footer">
<button class="btn primary" id="modal-register-ok">${$.i18n.prop('register')}</button>
<button class="btn btn-primary" id="modal-register-ok">${$.i18n.prop('register')}</button>
</div>
</div>