mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-01 07:37:04 +00:00
new listing and changed wn.widgets.listing to wn.ui.listing
This commit is contained in:
@@ -131,7 +131,7 @@ KBAnswerList = function(args) {
|
||||
|
||||
this.make_list = function() {
|
||||
|
||||
this.list = new wn.widgets.Listing({
|
||||
this.list = new wn.ui.Listing({
|
||||
parent: me.parent,
|
||||
as_dict: 1,
|
||||
no_result_message: 'No answers yet, be the first one to answer!',
|
||||
|
||||
@@ -107,7 +107,7 @@ function KnowledgeBase(w) {
|
||||
this.list_area = $a(w, 'div', '', {marginRight:'13px'})
|
||||
this.no_result = $a(w, 'div','help_box',{display:'none'},'No questions asked yet! Be the first one to ask')
|
||||
|
||||
this.list = new wn.widgets.Listing({
|
||||
this.list = new wn.ui.Listing({
|
||||
parent: this.list_area,
|
||||
no_results_message: 'No questions found. Ask a new question!',
|
||||
as_dict: 1,
|
||||
|
||||
Reference in New Issue
Block a user