File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/MediaGalleryUi/view/adminhtml/web/js/grid/columns/image Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,16 +40,16 @@ define([
4040 filename : record [ 'encoded_id' ] ,
4141 'store_id' : config . storeId ,
4242 'as_is' : typeof targetElement !== 'function' && targetElement . is ( 'textarea' ) ? 1 : 0 ,
43- 'force_static_path' : typeof targetElement !== 'function' && targetElement . data ( 'force_static_path' ) ? 1 : 0 ,
43+ 'force_static_path' : typeof targetElement !== 'function' && targetElement . data ( 'force_static_path' )
44+ ? 1 : 0 ,
4445 'form_key' : FORM_KEY
4546 } ,
4647 context : this ,
4748 showLoader : true
4849 } ) . done ( $ . proxy ( function ( data ) {
49- if ( typeof targetElement === 'function' ) {
50+ if ( typeof targetElement === 'function' ) {
5051 targetElement ( data . content ) ;
51- }
52- else if ( targetElement . is ( 'textarea' ) ) {
52+ } else if ( targetElement . is ( 'textarea' ) ) {
5353 this . insertAtCursor ( targetElement . get ( 0 ) , data . content ) ;
5454 targetElement . focus ( ) ;
5555 $ ( targetElement ) . trigger ( 'change' ) ;
You can’t perform that action at this time.
0 commit comments