Monotone-Parent: 11701b15db10c26f527b23aa39f6d4ba7256523d
Monotone-Revision: 58a952b10d4574c10176dc598afd887a5e7d2ad2 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-23T21:37:53 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
be4b5bbb2a
commit
1f2533e6ed
|
@ -32,7 +32,7 @@ function newEvent(sender, type) {
|
|||
+ "&hm=" + hour);
|
||||
|
||||
window.open(urlstr, "",
|
||||
"width=570,height=200,resizable=0,scrollbars=0,toolbar=0," +
|
||||
"width=620,height=600,resizable=0,scrollbars=0,toolbar=0," +
|
||||
"location=0,directories=0,status=0,menubar=0,copyhistory=0");
|
||||
|
||||
return false; /* stop following the link */
|
||||
|
@ -47,7 +47,7 @@ function _editEventId(id, owner) {
|
|||
var urlstr = urlBase + id + "/edit";
|
||||
|
||||
var win = window.open(urlstr, "SOGo_edit_" + id,
|
||||
"width=570,height=200,resizable=0,scrollbars=0,toolbar=0," +
|
||||
"width=620,height=600,resizable=0,scrollbars=0,toolbar=0," +
|
||||
"location=0,directories=0,status=0,menubar=0,copyhistory=0");
|
||||
win.focus();
|
||||
}
|
||||
|
@ -863,3 +863,24 @@ function onChangeCalendar(list) {
|
|||
= list.childNodesWithTag("option")[list.value].innerHTML;
|
||||
form.setAttribute("action", urlElems.join("/"));
|
||||
}
|
||||
|
||||
function validateBrowseURL(input) {
|
||||
var button = $("browseUrlBtn");
|
||||
|
||||
if (input.value.length) {
|
||||
if (!button.enabled)
|
||||
enableAnchor(button);
|
||||
} else if (!button.disabled)
|
||||
disableAnchor(button);
|
||||
}
|
||||
|
||||
function browseUrl(anchor, event) {
|
||||
if (event.button == 0) {
|
||||
var input = $("url");
|
||||
var url = input.value;
|
||||
if (url.length)
|
||||
window.open(url, '_blank');
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -18,6 +18,9 @@ body
|
|||
padding: 0px;
|
||||
overflow: hidden; }
|
||||
|
||||
HR
|
||||
{ height: 0px; }
|
||||
|
||||
TABLE, DIV, IMG
|
||||
{ font-family: inherit;
|
||||
font-size: inherit;
|
||||
|
@ -650,7 +653,21 @@ DIV.noJavascriptErrorMessage A
|
|||
{ float: right;
|
||||
margin: 0px auto; }
|
||||
|
||||
A.button
|
||||
A.button:hover
|
||||
{ color: inherit;
|
||||
background: -moz-buttonhoverface; }
|
||||
|
||||
A.button:active
|
||||
{ color: -moz-buttonhovertext;
|
||||
background-color: #c4c2bd;
|
||||
-moz-border-bottom-colors: -moz-buttonhoverface ThreeDHighlight;
|
||||
-moz-border-right-colors: -moz-buttonhoverface ThreeDHighlight;
|
||||
-moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
|
||||
-moz-border-left-colors: ThreeDShadow ThreeDDarkShadow; }
|
||||
|
||||
A.button,
|
||||
A[class~="_disabled"].button:hover,
|
||||
A[class~="_disabled"].button:active
|
||||
{ cursor: default;
|
||||
padding: 1px .5em;
|
||||
border-top: 2px solid #fffffb;
|
||||
|
@ -667,17 +684,11 @@ A.button
|
|||
A.button IMG
|
||||
{ vertical-align: middle; }
|
||||
|
||||
A.button:hover
|
||||
{ color: inherit;
|
||||
background: -moz-buttonhoverface; }
|
||||
|
||||
A.button:active
|
||||
{ color: -moz-buttonhovertext;
|
||||
background-color: #c4c2bd;
|
||||
-moz-border-bottom-colors: -moz-buttonhoverface ThreeDHighlight;
|
||||
-moz-border-right-colors: -moz-buttonhoverface ThreeDHighlight;
|
||||
-moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
|
||||
-moz-border-left-colors: ThreeDShadow ThreeDDarkShadow; }
|
||||
A[class~="_disabled"].button,
|
||||
A[class~="_disabled"].button:hover,
|
||||
A[class~="_disabled"].button:active
|
||||
{ color: #999;
|
||||
background: inherit; }
|
||||
|
||||
/* tabs */
|
||||
DIV.tabsContainer
|
||||
|
@ -740,7 +751,6 @@ DIV.tabsContainer > DIV.tab
|
|||
bottom: .5em;
|
||||
visibility: hidden; }
|
||||
|
||||
SPAN.checkBoxList INPUT,
|
||||
INPUT.checkBox
|
||||
{ border: 2px solid #000;
|
||||
vertical-align: middle;
|
||||
|
@ -748,4 +758,3 @@ INPUT.checkBox
|
|||
-moz-border-left-colors: #000 #fff;
|
||||
-moz-border-bottom-colors: #000 #fff;
|
||||
-moz-border-right-colors: #000 #fff; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue