projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
92b0716
)
* Removed JS function fixOffsetBanner() which does not appear to be referenced anywhere.
author
Art Cancro
<ajc@citadel.org>
Wed, 23 Jun 2010 19:32:53 +0000
(19:32 +0000)
committer
Art Cancro
<ajc@citadel.org>
Wed, 23 Jun 2010 19:32:53 +0000
(19:32 +0000)
webcit/static/wclib.js
patch
|
blob
|
history
diff --git
a/webcit/static/wclib.js
b/webcit/static/wclib.js
index 80da93dedbff7028307b8ee8b551a79e36251227..9d1ad082d886f4a2e90f14d4e85ff639fe0bba82 100644
(file)
--- a/
webcit/static/wclib.js
+++ b/
webcit/static/wclib.js
@@
-871,17
+871,6
@@
function fixMissingCSSTable(elems) {
}
}
-function fixOffsetBanner() {
- var banner = document.getElementById("banner");
- if (banner.offsetLeft > 0) {
- var viewportWidth = document.viewport.getWidth();
- var iconbarWidth = document.getElementById("iconbar").offsetWidth;
- var contentDiv = document.getElementById("content");
- var newContentWidth = viewportWidth-iconbarWidth;
- contentDiv.style.width = newContentWidth+"px";
- }
-}
-
function RefreshSMTPqueueDisplay() {
new Ajax.Updater('smtpqueue_inner_div',
'display_smtpqueue_inner_div', { method: 'get',
function RefreshSMTPqueueDisplay() {
new Ajax.Updater('smtpqueue_inner_div',
'display_smtpqueue_inner_div', { method: 'get',