summaryrefslogtreecommitdiffstats
path: root/askbot/media/js/post.js
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-07 05:37:16 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-07 05:37:16 -0400
commit67c5a4bb63a08c3620e6667f4b0c3a3c61cc61ce (patch)
tree4fe5381c2b2a16f994a8bfa6092db70e77e7a52f /askbot/media/js/post.js
parentb03f881b11204b7e0fe323dd9148085ef0dfa35d (diff)
parent60bc578f579d8b5a40e4c040a0bbd6a60e30e950 (diff)
downloadaskbot-67c5a4bb63a08c3620e6667f4b0c3a3c61cc61ce.tar.gz
askbot-67c5a4bb63a08c3620e6667f4b0c3a3c61cc61ce.tar.bz2
askbot-67c5a4bb63a08c3620e6667f4b0c3a3c61cc61ce.zip
merged with the master branch
Diffstat (limited to 'askbot/media/js/post.js')
-rw-r--r--askbot/media/js/post.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/askbot/media/js/post.js b/askbot/media/js/post.js
index 02aa02d6..4e1e8da2 100644
--- a/askbot/media/js/post.js
+++ b/askbot/media/js/post.js
@@ -1243,7 +1243,6 @@ var questionRetagger = function(){
//populate input
var tagAc = new AutoCompleter({
url: askbot['urls']['get_tag_list'],
- preloadData: true,
minChars: 1,
useCache: true,
matchInside: true,
@@ -1665,6 +1664,7 @@ EditCommentForm.prototype.createDom = function(){
*/
this._controlsBox = this.makeElement('div');
+ this._controlsBox.addClass('edit-comment-buttons');
div.append(this._controlsBox);
this._text_counter = $('<span></span>').attr('class', 'counter');
@@ -2483,6 +2483,7 @@ SimpleEditor.prototype.setText = function(text) {
*/
SimpleEditor.prototype.createDom = function() {
this._element = this.makeElement('div');
+ this._element.addClass('wmd-container');
var textarea = this.makeElement('textarea');
this._element.append(textarea);
this._textarea = textarea;
@@ -3369,7 +3370,6 @@ TagEditor.prototype.decorate = function(element) {
me.clearNewTagInput();
}
},
- preloadData: true,
minChars: 1,
useCache: true,
matchInside: true,
@@ -4370,7 +4370,6 @@ $(document).ready(function() {
var fakeUserAc = new AutoCompleter({
url: '/get-users-info/',//askbot['urls']['get_users_info'],
- preloadData: true,
promptText: gettext('User name:'),
minChars: 1,
useCache: true,
@@ -4392,7 +4391,6 @@ $(document).ready(function() {
if (groupsInput.length === 1) {
var groupsAc = new AutoCompleter({
url: askbot['urls']['getGroupsList'],
- preloadData: true,
promptText: gettext('Group name:'),
minChars: 1,
useCache: false,
@@ -4406,7 +4404,6 @@ $(document).ready(function() {
if (usersInput.length === 1) {
var usersAc = new AutoCompleter({
url: '/get-users-info/',
- preloadData: true,
promptText: gettext('User name:'),
minChars: 1,
useCache: false,