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 472472 imcger . imgUpload . confirmSavePost = function ( answerYes ) {
473473
474474 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+
475481 $ ( '.submit-buttons' ) . off ( 'click' , '.button1' ) ;
476482 $ ( '.submit-buttons [name="' + imcger . imgUpload . submitType + '"' ) . trigger ( 'click' ) ;
477483 }
503509 { % if ( IUL_IMG_SET_INLINE && S_BBCODE_ALLOWED && S_BBCODE_IMG ) ? 1 : 0 % }
504510 $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 + '">' ) ;
505511 { % 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 + '">' ) ;
507513 { % endif % }
508514
509515 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