fixing admin posts bug

This commit is contained in:
yafeilee 2016-05-03 02:44:46 +08:00
parent f615325a2d
commit da83ca8dd0
1 changed files with 0 additions and 1 deletions

View File

@ -39,7 +39,6 @@ $(document).on 'turbolinks:load', ->
before_text = source.slice(0, caret_pos) before_text = source.slice(0, caret_pos)
txtBox.val(before_text + src_merged + source.slice(caret_pos+1, source.count)) txtBox.val(before_text + src_merged + source.slice(caret_pos+1, source.count))
txtBox.caret('pos',caret_pos + src_merged.length) txtBox.caret('pos',caret_pos + src_merged.length)
txtBox.scope().content = txtBox.val()
txtBox.focus() txtBox.focus()
$('input[type=file]').fileUpload opt $('input[type=file]').fileUpload opt