Merge branch 'seeddms-4.3.x' into seeddms-5.0.x

This commit is contained in:
Uwe Steinmann 2017-01-18 08:32:36 +01:00
commit de2cf19386
2 changed files with 7 additions and 0 deletions

View File

@ -187,8 +187,12 @@ span.openpopupbox {
} }
div.popupbox { div.popupbox {
margin-top: 5px;
background-color: #fff; background-color: #fff;
border-radius: 4px; border-radius: 4px;
color: black;
text-align: left;
text-shadow: none;
border: 1px solid #ccc; border: 1px solid #ccc;
padding: 15px; padding: 15px;
display: none; display: none;

View File

@ -992,6 +992,9 @@ $(document).ready(function() { /* {{{ */
$("body").on("click", "span.openpopupbox", function(e) { $("body").on("click", "span.openpopupbox", function(e) {
$(""+$(e.target).data("href")).toggle(); $(""+$(e.target).data("href")).toggle();
}); });
$("body").on("click", "span.openpopupbox i", function(e) {
$(e.target).parent().click();
});
$("body").on("click", "span.closepopupbox", function(e) { $("body").on("click", "span.closepopupbox", function(e) {
$(this).parent().hide(); $(this).parent().hide();
}); });