* Using 'icon-trash' to represent 'delete' actions (fixes #210)

* A simple click on a domain name opens the edit box (fixes #209)
* No more creation and modification dates in the listing (fixes #211)
* Fixed an issue with modal boxes
This commit is contained in:
Antoine Nguyen
2012-04-06 09:48:59 +02:00
parent 4e78f6b01a
commit 67ec55beac
5 changed files with 23 additions and 49 deletions
+2 -2
View File
@@ -19,7 +19,6 @@ function modalbox(e, css, defhref, defcb) {
return;
}
var $div = $('<div id="modalbox" class="modal" >' + data + '</div>')
.modal()
.one('shown', function() {
if (modalcb != undefined) {
if (typeof modalcb === "function") {
@@ -31,7 +30,8 @@ function modalbox(e, css, defhref, defcb) {
})
.on('hidden', function() {
$("#modalbox").remove();
});
})
.modal();
if (css != undefined) {
$div.css(css);