Merge branch 'master' into dev
This commit is contained in:
commit
635580091a
@ -196,8 +196,10 @@ a.wall-item-name-link {
|
|||||||
|
|
||||||
/* comment_item */
|
/* comment_item */
|
||||||
|
|
||||||
.comment-edit-text-empty, .comment-edit-text-full {
|
.comment-edit-text-empty,
|
||||||
|
.comment-edit-text-full {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
display: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment-edit-text-empty {
|
.comment-edit-text-empty {
|
||||||
|
@ -147,6 +147,9 @@ function listNewLineAutocomplete(id) {
|
|||||||
setCaretPosition(text, caretPos + 5);
|
setCaretPosition(text, caretPos + 5);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function string2bb(element) {
|
function string2bb(element) {
|
||||||
@ -315,11 +318,12 @@ function string2bb(element) {
|
|||||||
a.on('textComplete:select', function(e, value, strategy) { value; });
|
a.on('textComplete:select', function(e, value, strategy) { value; });
|
||||||
|
|
||||||
a.keypress(function(e){
|
a.keypress(function(e){
|
||||||
e.stopImmediatePropagation();
|
|
||||||
if (e.keyCode == 13) {
|
if (e.keyCode == 13) {
|
||||||
var x = listNewLineAutocomplete(this.id);
|
var x = listNewLineAutocomplete(this.id);
|
||||||
if(x)
|
if(x) {
|
||||||
|
e.stopImmediatePropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user