Commit ecbbdd13 authored by Gabriel L. Oliveira's avatar Gabriel L. Oliveira

Display document title only when necessary

parent c327009e
...@@ -268,6 +268,7 @@ $().ready(function(){\n ...@@ -268,6 +268,7 @@ $().ready(function(){\n
$("a#loading_message").show();\n $("a#loading_message").show();\n
setTimeout(checkConversion(), 1000);\n setTimeout(checkConversion(), 1000);\n
}\n }\n
else {\n
switch (getPortalTypeFromContext()) {\n switch (getPortalTypeFromContext()) {\n
case "Web Page":\n case "Web Page":\n
$("div.content").css({"position":"fixed", "bottom": "0px",\n $("div.content").css({"position":"fixed", "bottom": "0px",\n
...@@ -289,8 +290,9 @@ $().ready(function(){\n ...@@ -289,8 +290,9 @@ $().ready(function(){\n
});\n });\n
break;\n break;\n
}\n }\n
}\n
displayDocumentTitle(null);\n displayDocumentTitle(null);\n
}\n
}\n
$("input#upload").click(function(event){\n $("input#upload").click(function(event){\n
event.preventDefault();\n event.preventDefault();\n
$("#upload_document").dialog("open");\n $("#upload_document").dialog("open");\n
......
2011-09-21 gabriel.oliveira
* Display document title only when necessary
2011-09-21 gabriel.oliveira 2011-09-21 gabriel.oliveira
* Improve performance when not logged in * Improve performance when not logged in
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment