Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
commit
bc555f2721
@ -19,8 +19,9 @@ erpnext.CommunicationView = Class.extend({
|
|||||||
this.comm_list = [];
|
this.comm_list = [];
|
||||||
$.extend(this, opts);
|
$.extend(this, opts);
|
||||||
|
|
||||||
this.list.sort(function(a, b) { return new Date(a.modified) > new Date(b.modified)
|
this.list.sort(function(a, b) { return
|
||||||
? -1 : 1 })
|
(new Date(a.modified) > new Date(b.modified))
|
||||||
|
? -1 : 1; })
|
||||||
|
|
||||||
this.make();
|
this.make();
|
||||||
},
|
},
|
||||||
@ -41,7 +42,9 @@ erpnext.CommunicationView = Class.extend({
|
|||||||
|
|
||||||
this.wrapper = $("<div><h4>Communication History</h4>\
|
this.wrapper = $("<div><h4>Communication History</h4>\
|
||||||
<button class='btn btn-small'>Add Reply</button></p></div>")
|
<button class='btn btn-small'>Add Reply</button></p></div>")
|
||||||
.appendTo(this.parent);
|
.appendTo(this.parent).css({
|
||||||
|
"overflow-x": "auto",
|
||||||
|
});
|
||||||
|
|
||||||
this.body = $("<table class='table table-bordered table-hover table-striped'>")
|
this.body = $("<table class='table table-bordered table-hover table-striped'>")
|
||||||
.appendTo(this.wrapper);
|
.appendTo(this.wrapper);
|
||||||
|
Loading…
Reference in New Issue
Block a user