Details improvements

This commit is contained in:
2017-01-13 09:15:15 -05:00
parent 9d0524dd72
commit 3ee9c11666
75 changed files with 21884 additions and 112 deletions
+22 -1
View File
@@ -5,7 +5,28 @@
return false;
});
// Making elements equal height
$("form.confirm").submit(function () {
var form = this;
var text = "Confirm";
var confirmMsg = $(form).attr("confirm-msg");
if (confirmMsg) {
text = confirmMsg;
}
$("<div>" + text + "</div>")
.dialog({
buttons: {
"Confirm": function () {
form.submit();
},
"Cancel": function () {
$(this).dialog("close");
}
}
});
return false;
});
// Making elements equal height
var equalheight = function(container){
var currentTallest = 0,