Browse Source

fix unterminated string literal

version-14
Pratik Vyas 11 years ago
parent
commit
1ec10d8870
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/public/js/frappe/ui/listing.js

+ 1
- 1
frappe/public/js/frappe/ui/listing.js View File

@@ -170,7 +170,7 @@ frappe.ui.Listing = Class.extend({
// new // new
if(this.new_doctype) { if(this.new_doctype) {
if(this.appframe) { if(this.appframe) {
this.appframe.set_title_right("<i class='icon-plus'></i> " + frappe._('New') + ", function() {
this.appframe.set_title_right("<i class='icon-plus'></i> " + frappe._('New'), function() {
(me.custom_new_doc || me.make_new_doc).apply(me, [me.new_doctype]); }); (me.custom_new_doc || me.make_new_doc).apply(me, [me.new_doctype]); });
} }
this.add_button(frappe._('New'), function() { this.add_button(frappe._('New'), function() {


Loading…
Cancel
Save