mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 01:37:02 +02:00
added conversation available feature
This commit is contained in:
@ -127,6 +127,12 @@ function send_ajax_post_request(url, params, id) {
|
||||
}
|
||||
|
||||
|
||||
function add_message_reference_to_form(s) {
|
||||
e = document.getElementById('ref');
|
||||
if(e) e.value = s;
|
||||
}
|
||||
|
||||
|
||||
function assemble_search_term(n) {
|
||||
var data = '';
|
||||
var attachment_type = '';
|
||||
@ -147,7 +153,6 @@ function assemble_search_term(n) {
|
||||
e = document.getElementById('subject');
|
||||
if(e && e.value) { data = data + "&subject=" + e.value; }
|
||||
|
||||
|
||||
for(i=0; i<=n; i++) {
|
||||
var a = 'key' + i;
|
||||
var b = 'val' + i;
|
||||
@ -181,6 +186,9 @@ function assemble_search_term(n) {
|
||||
|
||||
if(attachment_type) { data = data + "&attachment_type=" + attachment_type.substring(1,attachment_type.length); }
|
||||
|
||||
e = document.getElementById('ref');
|
||||
if(e && e.value) { data = data + "&ref=" + e.value; }
|
||||
|
||||
e = document.getElementById('sort');
|
||||
if(e && e.value) { data = data + "&sort=" + e.value; }
|
||||
|
||||
@ -228,6 +236,9 @@ function reset_simple_form() {
|
||||
a = document.getElementById('from'); a.value = '';
|
||||
a = document.getElementById('to'); a.value = '';
|
||||
a = document.getElementById('subject'); a.value = '';
|
||||
|
||||
a = document.getElementById('ref');
|
||||
if(a) { a.value = ''; }
|
||||
}
|
||||
|
||||
|
||||
@ -253,6 +264,9 @@ function reset_adv_form(n) {
|
||||
a = document.getElementById('val0');
|
||||
if(a) { a.value = ''; }
|
||||
|
||||
a = document.getElementById('ref');
|
||||
if(a) { a.value = ''; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user