modularize dialog Module (no more p4.dialog)

This commit is contained in:
Florian BLOUET
2016-02-29 15:36:02 +01:00
parent 4ff3239c92
commit 5eec250624
32 changed files with 314 additions and 309 deletions

View File

@@ -572,7 +572,7 @@
event.cancelBubble = true;
if (event.stopPropagation)
event.stopPropagation();
showOverlay('_tooltip', 'body', unfix_tooltip, settings(this).fixableIndex);
commonModule.showOverlay('_tooltip', 'body', unfix_tooltip, settings(this).fixableIndex);
$('#tooltip .tooltip_closer').show().bind('click', unfix_tooltip);
$.tooltip.blocked = true;
}
@@ -718,7 +718,7 @@ function unfix_tooltip() {
$.tooltip.current = null;
$('#tooltip').hide();
$('#tooltip .tooltip_closer').hide();
hideOverlay('_tooltip');
commonModule.hideOverlay('_tooltip');
}