fixing admin posts bug
This commit is contained in:
parent
f615325a2d
commit
da83ca8dd0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue