Merge branch '7.0.0' of https://github.com/umbraco/Umbraco-CMS into 7.0.0

This commit is contained in:
Per Ploug
2013-07-05 14:14:31 +02:00

View File

@@ -5,6 +5,15 @@ jQuery(document).ready(function () {
jQuery(window).bind("resize", function () {
scaleScrollables("body");
});
jQuery("body").click(function(event) {
var el = event.target.nodeName;
var pEl = event.target.parentElement.nodeName;
if(el != "A" && el != "BUTTON" && pEl != "A" && pEl != "BUTTON"){
UmbClientMgr.closeModalWindow(undefined);
}
});
});