summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 93c2b26)
raw | patch | inline | side by side (parent: 93c2b26)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Oct 2009 08:07:10 +0000 (08:07 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Oct 2009 08:07:10 +0000 (08:07 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14457 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/include/datepicker.js | patch | blob | history | |
gosa-plugins/mail/personal/mail/generic.tpl | patch | blob | history |
index 738324708c485573747fbe87aa87ca4817c1a589..1a61639ceb0dae601bb79e86147e3ce80cdb56f3 100644 (file)
this._div.innerHTML = '<div class="datepicker-header"><table class="header" cellspacing="0"><tr><td id="'+ this._id_datepicker_prev_year +'" class="prev_year"> << </td><td id="'+ this._id_datepicker_prev +'" class="prev"> < </td><td id="'+ this._id_datepicker_hdr +'" class="header"></td><td id="'+ this._id_datepicker_next +'" class="next"> > </td><td id="'+ this._id_datepicker_next_year +'" class="next_year"> >> </td></tr></table></div><div class="datepicker-calendar"><table class="body"><tbody id="'+ this._id_datepicker +'-tbody"></tbody></table></div><div id="'+ this._id_datepicker_ftr +'" class="datepicker-footer"></div>';
/* Build the datepicker icon */
- var datepickeropener = Builder.node('table',{className : "datepicker-opener-table"});
-
+ var datepickeropener = Builder.node('table',{className : "datepicker-opener-table", id: this._id_datepicker + '_image'});
var con = Builder.node('tr',{},[
Builder.node('td',{className : "datepicker-opener", id : "datepicker-opener-"+ this._relative})
]);
diff --git a/gosa-plugins/mail/personal/mail/generic.tpl b/gosa-plugins/mail/personal/mail/generic.tpl
index dde2bfa001196a16097cc7e67be320f40125749e..3945eb3783d60a0553c9c98abb4911465a41a5af 100644 (file)
function changeStates()
{
if(document.getElementById('use_vacation').checked){
- document.getElementById("datepicker-opener-gosaVacationStop").style.visibility= "visible";
- document.getElementById("datepicker-opener-gosaVacationStart").style.visibility= "visible";
+ document.getElementById("datepicker-gosaVacationStart_image").style.visibility= "visible";
+ document.getElementById("datepicker-gosaVacationStop_image").style.visibility= "visible";
}else{
- document.getElementById("datepicker-opener-gosaVacationStop").style.visibility= "hidden";
- document.getElementById("datepicker-opener-gosaVacationStart").style.visibility= "hidden";
- //The prototype way
- //$('datepicker-opener-gosaVacationStop').hide();
+ document.getElementById("datepicker-gosaVacationStart_image").style.visibility= "hidden";
+ document.getElementById("datepicker-gosaVacationStop_image").style.visibility= "hidden";
}
}
{/literal}