git-svn-id: https://msi/svn/firstRepo/WebClient/branches/NewRelease@58 0f545695-f87b-41b6-9a03-7f16563b5454

This commit is contained in:
2016-01-31 16:13:42 +00:00
parent 52ea2f542e
commit fc7970ec57
18 changed files with 133 additions and 54 deletions
+6 -6
View File
@@ -56,12 +56,12 @@ define(['jquery', 'underscore', 'backbone','text!modules/search/searchViewTempla
//render the content into div of view
render: function () {
if (this.created === true)
{
SearchView.__super__.render.call(this);
this.$el.append(this.header.$el);
this.$el.append(this.template({data:this.collection.toJSON()}));
this.$el.append(this.footer.$el);
}
{
SearchView.__super__.render.call(this);
this.$el.append(this.header.$el);
this.$el.append(this.template({data:this.collection.toJSON()}));
this.$el.append(this.footer.$el);
}
this.$el.find('#nResult').val(Profile.data.risRic);
this.trigger("renderCompleted:Search", this);
this.$el.find("#searchBtn").addClass("ui-btn-active");