mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 22:38:51 +00:00
add the location column
This commit is contained in:
@@ -68,6 +68,8 @@
|
||||
<var:string label:value="To" /></td>
|
||||
<td id="dateSearchHeader" class="td_header">
|
||||
<var:string label:value="Date" /></td>
|
||||
<td id="locationSearchHeader" class="td_header">
|
||||
<var:string label:value="Location" /></td>
|
||||
<td id="buttonExpandHeader" class="td_header">
|
||||
<div id="imgPosition">
|
||||
<a href="#" id="listCollapse">
|
||||
|
||||
@@ -172,8 +172,15 @@ function searchMailsCallback(http) {
|
||||
|
||||
var cell4 = row.insertCell(3);
|
||||
Element.addClassName(cell4, "td_table_4");
|
||||
cell4.writeAttribute("colspan", "2");
|
||||
cell4.innerHTML = response.headers[i][7];
|
||||
|
||||
var cell5 = row.insertCell(4);
|
||||
Element.addClassName(cell5, "td_table_5");
|
||||
cell5.writeAttribute("colspan", "2");
|
||||
var folderPath = http.callbackData.folderName.split("/");
|
||||
var folderLocation = folderPath[folderPath.length - 1]; // get the last element of the array (location)
|
||||
folderLocation = folderLocation.substr(6); // strip down the prefix folder
|
||||
cell5.innerHTML = folderLocation;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user