mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Media-Manager bbcode correction.
This commit is contained in:
@@ -6,9 +6,9 @@ $(document).ready(function()
|
||||
var newval = $('#bbcode_holder').val();
|
||||
var target = $(this).attr('data-target');
|
||||
var bbcode = $(this).attr('data-bbcode'); // TinyMce/Textarea insert mode
|
||||
|
||||
|
||||
if(!target || !bbcode){ return true; }
|
||||
|
||||
|
||||
$('#' + target, window.top.document).atCaret('insert', newval); // http://code.google.com/p/jquery-at-caret/wiki/GettingStarted
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user