[lib/impression, intranet/impression] stripping trailing whitespaces

Ignore-this: a462d23b95fcfc99372f15a2dc645851

darcs-hash:20090516013103-bd074-7538108fca4203285f67d9f4adff82ade6c33f62.gz
This commit is contained in:
Antoine Durand-Gasselin 2009-05-16 03:31:03 +02:00
parent 5f5b832609
commit fdfd2254d3
6 changed files with 71 additions and 72 deletions

View file

@ -2,7 +2,7 @@ Popup = {};
Popup.popupNode = null;
Popup.visible = false;
Popup.display = function()
Popup.display = function()
{
if (this.popupNode == null) {
logError("Popup not created, cannot be displayed");
@ -10,11 +10,11 @@ Popup.display = function()
}
appendChildNodes("pageContent", this.popupNode);
this.visible = true;
// logDebug("popup visible");
// logDebug("popup visible");
}
Popup.create = function(options, title_popup, content) {
var inPopup = DIV({"id":"__popupInDivId", "style":"background:white;margin:2px 5px;"}, content);
var inPopup = DIV({"id":"__popupInDivId", "style":"background:white;margin:2px 5px;"}, content);
var outPopup = DIV({"id":"__popupOutDivId","style":"background:#AE0F3E;z-index:500;float:left;padding:0;min-width:300px;position:fixed;top:30%;left:30%;right:30%;"}, H1({"style":"font-size:1em;margin:0;text-align:center;color:white;"}, IMG({"src":"/static/images/WindowTitleLogo.png","alt":"icon", "style":"margin:0 5px;"}), title_popup), inPopup );
roundElement(outPopup);
logDebug("Popup \""+ title_popup +"\" created");
@ -26,7 +26,7 @@ Popup.hide = function() {
removeElement(this.popupNode);
this.visible = false;
}
// logDebug("popup not visible");
// logDebug("popup not visible");
}
Popup.closeLink = function(options, text_link) {
options["href"] = "#";