Skip to content

Commit

Permalink
Fix Issue CMB2#357
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveHoneyNZ committed Jun 20, 2015
1 parent bd95944 commit 87f1ccd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion includes/CMB2_JS.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ protected static function localize( $debug ) {
),
),
'strings' => array(
'upload_file' => __( 'Use this file', 'cmb2' ),
'upload_file' => __( 'Insert File(s)', 'cmb2' ),
'remove_image' => __( 'Remove Image', 'cmb2' ),
'remove_file' => __( 'Remove', 'cmb2' ),
'file' => __( 'File:', 'cmb2' ),
Expand Down
2 changes: 1 addition & 1 deletion js/cmb2.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ window.CMB2 = (function(window, document, $, undefined){
button: {
text: l10n.strings.upload_file
},
multiple: isList ? true : false
multiple: isList ? 'add' : false
});

cmb.mediaHandlers.list = function( selection, returnIt ) {
Expand Down
Loading

0 comments on commit 87f1ccd

Please sign in to comment.