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

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

View File

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

View File

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