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([
40
40
filename : record [ 'encoded_id' ] ,
41
41
'store_id' : config . storeId ,
42
42
'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 ,
44
45
'form_key' : FORM_KEY
45
46
} ,
46
47
context : this ,
47
48
showLoader : true
48
49
} ) . done ( $ . proxy ( function ( data ) {
49
- if ( typeof targetElement === 'function' ) {
50
+ if ( typeof targetElement === 'function' ) {
50
51
targetElement ( data . content ) ;
51
- }
52
- else if ( targetElement . is ( 'textarea' ) ) {
52
+ } else if ( targetElement . is ( 'textarea' ) ) {
53
53
this . insertAtCursor ( targetElement . get ( 0 ) , data . content ) ;
54
54
targetElement . focus ( ) ;
55
55
$ ( targetElement ) . trigger ( 'change' ) ;
You can’t perform that action at this time.
0 commit comments