theme fixes

This commit is contained in:
SJ
2013-08-06 06:36:56 +02:00
parent 33871b21b7
commit e5b1a19b68
18 changed files with 85 additions and 50 deletions

View File

@ -633,7 +633,11 @@ var Piler =
$('input#xbody').val('');
$('input#xtag').val('');
$('input#xnote').val('');
$('input#xhas_attachment')[0].checked = 0;
$('input#xhas_attachment_doc')[0].checked = 0;
$('input#xhas_attachment_xls')[0].checked = 0;
$('input#xhas_attachment_pdf')[0].checked = 0;
$('input#xhas_attachment_image')[0].checked = 0;
$('input#xhas_attachment_any')[0].checked = 0;
$('input#date1').val('');
$('input#date2').val('');
@ -641,6 +645,29 @@ var Piler =
},
/*
* when clicked on the "any" attachment type, clear the other types
*/
clear_attachment_others: function()
{
$('input#xhas_attachment_doc')[0].checked = 0;
$('input#xhas_attachment_xls')[0].checked = 0;
$('input#xhas_attachment_pdf')[0].checked = 0;
$('input#xhas_attachment_image')[0].checked = 0;
},
/*
* when clicked on any of the named attachment types, clear the "any" type
*/
clear_attachment_any: function()
{
$('input#xhas_attachment_any')[0].checked = 0;
},
/*
* show a temporary message to the user
*/