BUG - add osc_esc_js function in ajax_photos #1336

Hi,

You need to add addslashes function tu ajax_photos() in Item.form.class.php

$('#restricted-fine-uploader .qq-uploader').after($('

<?php echo addslashes(sprintf(__('Too many items were uploaded. Item limit is %d.'), $maxImages)); ?>
'));
While I'm in french, the error text have a simple quote. So the javascript fail.

Too many itmes = Trop d'images

Thanks !
Merge pull request #1342 from groomain/patch-3

BUG - add osc_esc_js function in ajax_photos #1336