1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Inline editing of keywords enabled on admin newspost. Fixes empty space between tags in database (causing issues with 'related' SQL queries).

This commit is contained in:
Cameron
2015-06-09 15:46:45 -07:00
parent 6be9ee6504
commit ff896c52a0
4 changed files with 22 additions and 8 deletions

View File

@@ -138,13 +138,13 @@
this.values.push(value)
this.createBadge(value)
this.element.val(this.values.join(', '))
this.element.val(this.values.join(','))
}
, remove: function ( index ) {
if ( index >= 0 ) {
this.values.splice(index, 1)
this.element.siblings('.tag:eq(' + index + ')').remove()
this.element.val(this.values.join(', '))
this.element.val(this.values.join(','))
}
}
, process: function () {