do not copy communication
This commit is contained in:
parent
f3599ebca9
commit
0fefa93edb
2 changed files with 13 additions and 10 deletions
|
|
@ -8,6 +8,7 @@ wn.views.CommunicationList = Class.extend({
|
|||
$.extend(this, opts);
|
||||
|
||||
if(this.doc.__islocal) {
|
||||
$(this.parent).empty();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -28,15 +29,17 @@ wn.views.CommunicationList = Class.extend({
|
|||
// show first
|
||||
this.comm_list[0].find('.comm-content').toggle(true);
|
||||
} else {
|
||||
this.body.remove()
|
||||
$("<div class='alert'>" + wn._("No Communication tagged with this ")
|
||||
+ this.doc.doctype +" yet.</div>").appendTo(this.wrapper);
|
||||
this.clear_list()
|
||||
}
|
||||
|
||||
},
|
||||
clear_list: function() {
|
||||
this.body.remove();
|
||||
$("<div class='alert'>" + wn._("No Communication tagged with this ")
|
||||
+ this.doc.doctype +" yet.</div>").appendTo(this.wrapper);
|
||||
},
|
||||
make_body: function() {
|
||||
$(this.parent)
|
||||
.html("")
|
||||
.empty()
|
||||
.css({"margin":"10px 0px"});
|
||||
|
||||
this.wrapper = $("<div><h4>"+wn._("Communication History")+"</h4>\
|
||||
|
|
|
|||
|
|
@ -436,7 +436,7 @@
|
|||
"number_format": "######"
|
||||
},
|
||||
"British Indian Ocean Territory": {
|
||||
"currency_fraction": "Cent[D]",
|
||||
"currency_fraction": "Cent",
|
||||
"currency_fraction_units": 100,
|
||||
"number_format": "#,###.##",
|
||||
"currency_symbol": "$"
|
||||
|
|
@ -975,7 +975,7 @@
|
|||
},
|
||||
"United States": {
|
||||
"date_format": "mm-dd-yyyy",
|
||||
"currency_fraction": "Cent[D]",
|
||||
"currency_fraction": "Cent",
|
||||
"timezones": [
|
||||
"America/New_York",
|
||||
"America/Detroit",
|
||||
|
|
@ -1288,7 +1288,7 @@
|
|||
"America/Guayaquil",
|
||||
"Pacific/Galapagos"
|
||||
],
|
||||
"currency_fraction": "Cent[D]",
|
||||
"currency_fraction": "Cent",
|
||||
"currency_fraction_units": 100,
|
||||
"number_format": "#,###.##",
|
||||
"currency_symbol": "$"
|
||||
|
|
@ -1375,7 +1375,7 @@
|
|||
"Pacific/Majuro",
|
||||
"Pacific/Kwajalein"
|
||||
],
|
||||
"currency_fraction": "Cent[D]",
|
||||
"currency_fraction": "Cent",
|
||||
"currency_fraction_units": 100,
|
||||
"number_format": "#,###.##",
|
||||
"currency_symbol": "$"
|
||||
|
|
@ -1732,7 +1732,7 @@
|
|||
"number_format": "####"
|
||||
},
|
||||
"Turks and Caicos Islands": {
|
||||
"currency_fraction": "Cent[D]",
|
||||
"currency_fraction": "Cent",
|
||||
"currency_fraction_units": 100,
|
||||
"number_format": "#,###.##",
|
||||
"currency_symbol": "$"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue