EliteJournal 1.9.401 → 1.9.403

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  require_dependency 'trackback'
2
2
 
3
3
  class PostController < ApplicationController
4
- before_filter :auth_required, :except => :reply
4
+ before_filter :auth_required, :except => [:reply, :replyxml]
5
5
  cache_sweeper :feed_killer, :only => [:new, :edit, :destroy, :destroyxml]
6
6
 
7
7
  def index
@@ -126,6 +126,6 @@ class PostController < ApplicationController
126
126
  @post = Post.find(@params['id'])
127
127
  @params['comment']['body'].strip! # what the fuck, safari? \000?
128
128
  @comment = @post.comments.create(@params['comment'])
129
- render_without_layout 'journal/replyxml'
129
+ render_without_layout 'post/replyxml'
130
130
  end
131
131
  end
@@ -1,5 +1,6 @@
1
1
  /* This file contains javascripts to manipulate the UI */
2
2
  function showReply(post) {
3
+ return true; /* DISABLE THIS FOR NOW, IT DOESN'T WORK RIGHT */
3
4
  postreply = document.getElementById('post_reply_' + post);
4
5
  document.getElementById("postreply_" + post).style.display = 'block';
5
6
  postreply.innerHTML = 'Cancel Reply';
@@ -12,7 +12,7 @@ function sendReply(post) {
12
12
  if (!(xmlhttp = new XHConn())) {
13
13
  return true;
14
14
  }
15
- xmlhttp.connect('/journal/replyxml/' + post, 'POST', postData, _sendReply);
15
+ xmlhttp.connect('/post/replyxml/' + post, 'POST', postData, _sendReply);
16
16
  return false;
17
17
  }
18
18
 
@@ -116,11 +116,11 @@ div.comment {
116
116
  width: 7em;
117
117
  }
118
118
 
119
- form.postreply textarea {
119
+ #postreply textarea {
120
120
  width: 100%;
121
121
  height: 200px;
122
122
  }
123
123
 
124
- form.postreply input[type=text] {
124
+ #postreply input[type=text] {
125
125
  width: 100%;
126
126
  }
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.8.4
3
3
  specification_version: 1
4
4
  name: EliteJournal
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.9.401
6
+ version: 1.9.403
7
7
  date: 2005-02-16
8
8
  summary: "Easy to install, multi-user blog software"
9
9
  require_paths: