File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
imcger/imgupload/styles/all/template/event Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 472
472
imcger . imgUpload . confirmSavePost = function ( answerYes ) {
473
473
474
474
if ( answerYes ) {
475
+ let hashPos = phpbb . plupload . form . action . indexOf ( '#' ) ;
476
+
477
+ if ( hashPos > 0 ) {
478
+ phpbb . plupload . form . action = phpbb . plupload . form . action . substr ( 0 , hashPos ) ;
479
+ }
480
+
475
481
$ ( '.submit-buttons' ) . off ( 'click' , '.button1' ) ;
476
482
$ ( '.submit-buttons [name="' + imcger . imgUpload . submitType + '"' ) . trigger ( 'click' ) ;
477
483
}
503
509
{ % if ( IUL_IMG_SET_INLINE && S_BBCODE_ALLOWED && S_BBCODE_IMG ) ? 1 : 0 % }
504
510
$link . html ( '<img id="img-' + attach_id + '" src="' + imgUrl + getThumbnail + '" onerror="this.src=\'' + imgUrl + '\'; $(\'[data-attach-id=' + attach_id + ']\').find(\'.button2.file-inline-bbcode\').hide();" title="' + real_filename + '" alt="' + real_filename + '">' ) ;
505
511
{ % else % }
506
- $link . html ( '<img id="img-' + attach_id + '" src="' + imgUrl + getThumbnail + '" onerror="this.src=\'' + imgUrl + '\';" title="' + real_filename + '; " alt="' + real_filename + '">' ) ;
512
+ $link . html ( '<img id="img-' + attach_id + '" src="' + imgUrl + getThumbnail + '" onerror="this.src=\'' + imgUrl + '\';" title="' + real_filename + '" alt="' + real_filename + '">' ) ;
507
513
{ % endif % }
508
514
509
515
if ( { { ( IUL_IMG_SET_INLINE && S_BBCODE_ALLOWED && S_BBCODE_IMG ) ? 1 : 0 } } ) {
You can’t perform that action at this time.
0 commit comments