Browse Source

[fixed] draggable grid view for row template (#3223)

version-14
Makarand Bauskar 8 years ago
committed by Nabin Hait
parent
commit
0a5187a93e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/public/js/frappe/form/grid.js

+ 1
- 1
frappe/public/js/frappe/form/grid.js View File

@@ -744,7 +744,7 @@ frappe.ui.form.GridRow = Class.extend({
this.row_index.find('span').html(this.doc.idx); this.row_index.find('span').html(this.doc.idx);
} }


this.row_display = $('<div class="row-data template-row">'+
this.row_display = $('<div class="row-data sortable-handle template-row">'+
+'</div>').appendTo(this.row) +'</div>').appendTo(this.row)
.html(frappe.render(this.grid.template, { .html(frappe.render(this.grid.template, {
doc: this.doc ? frappe.get_format_helper(this.doc) : null, doc: this.doc ? frappe.get_format_helper(this.doc) : null,


Loading…
Cancel
Save