Browse Source

phpdoc compatibility

MOODLE_20_STABLE
bdaloukas 8 years ago
parent
commit
639fc36a78
  1. 9
      export/html/snakes/js/subModal.js

9
export/html/snakes/js/subModal.js

@ -69,7 +69,7 @@ function initPopUp() {
} }
showPopWin(this.href, width, height, null); showPopWin(this.href, width, height, null);
return false; return false;
} };
} }
} }
} }
@ -124,7 +124,7 @@ function centerPopWin(width, height) {
if (width === null || isNaN(width)) { if (width === null || isNaN(width)) {
width = gPopupContainer.offsetWidth; width = gPopupContainer.offsetWidth;
} }
if (height == null) { if (height === null) {
height = gPopupContainer.offsetHeight; height = gPopupContainer.offsetHeight;
} }
@ -184,7 +184,7 @@ function hidePopWin(callReturnFunc) {
var theBody = document.getElementsByTagName("BODY")[0]; var theBody = document.getElementsByTagName("BODY")[0];
theBody.style.overflow = ""; theBody.style.overflow = "";
restoreTabIndexes(); restoreTabIndexes();
if (gPopupMask == null) { if (gPopupMask === null) {
return; return;
} }
gPopupMask.style.display = "none"; gPopupMask.style.display = "none";
@ -225,8 +225,7 @@ function disableTabIndexes() {
} }
} }
function returnRefresh() function returnRefresh() {
{
window.location.reload(); window.location.reload();
} }

Loading…
Cancel
Save