new listing and changed wn.widgets.listing to wn.ui.listing

This commit is contained in:
Rushabh Mehta
2012-03-07 18:19:41 +05:30
parent 0dd5da2299
commit f81a64e57f
23 changed files with 202 additions and 81 deletions

View File

@@ -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!',

View File

@@ -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,