Skip to content

Commit

Permalink
fixed unterminated JS statements
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Sep 17, 2010
1 parent 707f413 commit 7e3b826
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions comment/comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ M.core_comment = {
init: function(Y, options) {
var CommentHelper = function(args) {
CommentHelper.superclass.constructor.apply(this, arguments);
}
};
CommentHelper.NAME = "COMMENT";
CommentHelper.ATTRS = {
options: {},
Expand Down Expand Up @@ -194,7 +194,7 @@ bodyContent: '<div class="comment-delete-confirm"><a href="#" id="confirmdelete-
var container = Y.one('#comment-ctrl-'+this.client_id);
var params = {
'page': page
}
};
this.request({
scope: scope,
params: params,
Expand Down Expand Up @@ -352,7 +352,7 @@ bodyContent: '<div class="comment-delete-confirm"><a href="#" id="confirmdelete-
//// reset textarea size
ta.on('click', function() {
this.toggle_textarea(true);
}, this)
}, this);
//ta.onkeypress = function() {
//if (this.scrollHeight > this.clientHeight && !window.opera)
//this.rows += 1;
Expand Down Expand Up @@ -426,7 +426,7 @@ bodyContent: '<div class="comment-delete-confirm"><a href="#" id="confirmdelete-
'commentids': list,
'sesskey': M.cfg.sesskey,
'action': 'delete'
}
};
var cfg = {
method: 'POST',
on: {
Expand All @@ -450,7 +450,7 @@ bodyContent: '<div class="comment-delete-confirm"><a href="#" id="confirmdelete-
data: build_querystring(data)
};
Y.io(url, cfg);
}
};
M.util.show_confirm_dialog(e, args);
});
}
Expand Down

0 comments on commit 7e3b826

Please sign in to comment.