Merge branch 'master' of git@github.com:vrozkovec/woocommerce.git
This commit is contained in:
commit
3fe9994d59
|
@ -1508,7 +1508,13 @@ jQuery( function($){
|
||||||
button: {
|
button: {
|
||||||
text: $el.data('update'),
|
text: $el.data('update'),
|
||||||
},
|
},
|
||||||
multiple: true
|
multiple: true,
|
||||||
|
states : [
|
||||||
|
new wp.media.controller.Library({
|
||||||
|
title: $el.data('choose'),
|
||||||
|
filterable : 'all'
|
||||||
|
})
|
||||||
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
// When an image is selected, run a callback.
|
// When an image is selected, run a callback.
|
||||||
|
@ -1584,4 +1590,4 @@ jQuery( function($){
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue