mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Upgrade to 1.8.1: So long, metamorphs!
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
<%
|
||||
if Rails.env.development?
|
||||
require_asset ("development/list-view.js")
|
||||
else
|
||||
require_asset ("production/list-view.js")
|
||||
end
|
||||
|
||||
require_asset("main_include_admin.js")
|
||||
|
||||
DiscoursePluginRegistry.admin_javascripts.each { |js| require_asset(js) }
|
||||
|
||||
%>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
**/
|
||||
Discourse.CategoryList = Ember.ArrayProxy.extend({
|
||||
init: function() {
|
||||
this.content = [];
|
||||
this.set('content', []);
|
||||
this._super();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -527,7 +527,7 @@ Discourse.PostStream = Em.Object.extend({
|
||||
this.get('stream').removeObjects(postIds);
|
||||
this.get('posts').removeObjects(posts);
|
||||
postIds.forEach(function(id){
|
||||
identityMap.remove(id);
|
||||
identityMap.delete(id);
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
{{loading-spinner condition=postStream.loadingAbove}}
|
||||
|
||||
{{#unless postStream.loadingFilter}}
|
||||
{{cloaked-collection cloakView="post"
|
||||
{{cloaked-collection itemViewClass="post"
|
||||
idProperty="post_number"
|
||||
defaultHeight="200"
|
||||
content=postStream.posts
|
||||
|
||||
@@ -1,10 +1,3 @@
|
||||
/**
|
||||
Lists previous posts in the history of a post.
|
||||
|
||||
@class ReplyHistory
|
||||
@namespace Discourse
|
||||
@module Discourse
|
||||
**/
|
||||
export default Em.CollectionView.extend({
|
||||
tagName: 'section',
|
||||
classNameBindings: [':embedded-posts', ':top', ':topic-body', ':offset2', 'hidden'],
|
||||
@@ -12,5 +5,3 @@ export default Em.CollectionView.extend({
|
||||
hidden: Em.computed.equal('content.length', 0),
|
||||
previousPost: true
|
||||
});
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//= require list-view
|
||||
//= require admin/models/user-field
|
||||
//= require admin/controllers/admin-email-skipped
|
||||
//= require admin/controllers/change-site-customization-details
|
||||
|
||||
Reference in New Issue
Block a user