application/js/views/page_piece_view.js in spontaneous-0.1.0.alpha1 vs application/js/views/page_piece_view.js in spontaneous-0.2.0.alpha1
- old
+ new
@@ -22,19 +22,19 @@
var fields_panel = fields.panel();
entry.append(fields_panel);
inside.append(entry);
var preview_area = this.create_edit_wrapper(inside);
contents.append(preview_area);
- wrapper.append(contents, dom.div('.entry-spacer'));
+ wrapper.append(contents, this.entry_spacer());
this.wrapper = wrapper;
this.outline = outline;
this.fields_preview = fields_panel;
return wrapper;
},
page_title_panel: function() {
var wrapper = dom.div('.page-title'),
__content = this,
- title = dom.a().text(this.content.title()).click(function() {
+ title = dom.a().html(this.content.title()).click(function() {
S.Location.load_id(__content.id());
});
this.content.title_field().watch('value', function(t) { title.text(t); }.bind(this));
wrapper.append(title);
return wrapper;