mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:17:02 +02:00
theme fixes
This commit is contained in:
@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user