Commit aa89e987 authored by Gabriel Monnerat's avatar Gabriel Monnerat

- clean up the code and improve css

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42743 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c4adf115
......@@ -108,9 +108,9 @@ div#datepicker .ui-widget-content {\n
top: 0px;\n
}\n
\n
.ui-state-default, \n
.ui-widget-content .ui-state-default,\n
.ui-widget-header .ui-state-default {\n
div.main-left .ui-state-default, \n
div.main-left .ui-widget-content .ui-state-default,\n
div.main-left .ui-widget-header .ui-state-default {\n
background: none !important;\n
border: 1px solid #FFF;\n
}\n
......
......@@ -305,7 +305,7 @@ $().ready(function(){\n
});\n
$("div#preference_dialog").dialog({\n
autoOpen: false,\n
height: 487,\n
height: 460,\n
width: 330,\n
modal:true,\n
buttons: {\n
......
......@@ -62,6 +62,7 @@ function callOnError(type, data){\n
}\n
\n
function Edit(data){\n
var url ="WebSection_newEvent";\n
var editUrl="WebSection_newEvent?id={0}&start={2}&end={3}&isallday={4}&title={1}";\n
if(data){\n
var url = StrFormat(editUrl, data);\n
......@@ -79,8 +80,6 @@ function View(data){\n
alert(str);\n
}\n
function Delete(data, callback){\n
//$.alerts.okButton = "Ok"; \n
//$.alerts.cancelButton = "Cancel";\n
hiConfirm("Are You Sure to Delete this Event", \'Confirm\', function(r){ r && callback(0);});\n
}\n
\n
......@@ -123,15 +122,6 @@ $(document).ready(function() { \n
$("#txtdatetimeshow").text(p.datestrshow);\n
}\n
$("#caltoolbar").noSelect();\n
/*$("#hdtxtshow").datepicker({picker:"#txtdatetimeshow", showtarget: $("#txtdatetimeshow"),\n
onReturn:function(r){\n
console.log(r);\n
var p = $("#gridcontainer").gotoDate(r).BcalGetOp();\n
if (p && p.datestrshow) {\n
$("#txtdatetimeshow").text(p.datestrshow);\n
}\n
} \n
});*/\n
//to show day view\n
$("#showdaybtn").click(function(e) {\n
//document.location.href="#day";\n
......@@ -200,7 +190,7 @@ $(document).ready(function() { \n
});\n
$("div#new_event_dialog").dialog({\n
autoOpen: false,\n
height: 162,\n
height: 192,\n
width: 410,\n
modal: true,\n
buttons: {\n
......
194
\ No newline at end of file
195
\ No newline at end of file
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