mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
min height for communication history and transaction history
This commit is contained in:
@@ -7,6 +7,9 @@
|
|||||||
cur_frm.cscript.make_hl_body = function(){
|
cur_frm.cscript.make_hl_body = function(){
|
||||||
cur_frm.fields_dict['history_html'].wrapper.innerHTML = '';
|
cur_frm.fields_dict['history_html'].wrapper.innerHTML = '';
|
||||||
cur_frm.history_html = $a(cur_frm.fields_dict['history_html'].wrapper,'div');
|
cur_frm.history_html = $a(cur_frm.fields_dict['history_html'].wrapper,'div');
|
||||||
|
$(cur_frm.history_html).css({
|
||||||
|
'min-height': '320px',
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// make history
|
// make history
|
||||||
|
|||||||
@@ -16,6 +16,9 @@ cur_frm.cscript.make_communication_body = function() {
|
|||||||
var communication_wrapper = cur_frm.fields_dict.communication_html.wrapper;
|
var communication_wrapper = cur_frm.fields_dict.communication_html.wrapper;
|
||||||
communication_wrapper.innerHTML = '';
|
communication_wrapper.innerHTML = '';
|
||||||
cur_frm.communication_html = $a(communication_wrapper, 'div');
|
cur_frm.communication_html = $a(communication_wrapper, 'div');
|
||||||
|
$(cur_frm.communication_html).css({
|
||||||
|
'min-height': '275px',
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
cur_frm.cscript.render_communication_list = function(doc, dt, dn) {
|
cur_frm.cscript.render_communication_list = function(doc, dt, dn) {
|
||||||
|
|||||||
Reference in New Issue
Block a user