aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/js
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-12-24 16:50:35 +0000
committermistic100 <mistic@piwigo.org>2013-12-24 16:50:35 +0000
commitf51729dfb8a3394be9d72553cdb0cc5dad3e1530 (patch)
tree1d1da485a7749f011308b1bfadc549e2188ad82b /admin/themes/default/js
parent0b619c37f57ca4518a525efc6e8bd84891ef77bc (diff)
add missing str_repeat functions in common.js and use it for batch_manager_global.tpl
git-svn-id: http://piwigo.org/svn/trunk@26179 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/js')
-rw-r--r--admin/themes/default/js/common.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/admin/themes/default/js/common.js b/admin/themes/default/js/common.js
index d0e460bd8..a017115db 100644
--- a/admin/themes/default/js/common.js
+++ b/admin/themes/default/js/common.js
@@ -3,6 +3,11 @@ function array_delete(arr, item) {
if (i != -1) arr.splice(i, 1);
}
+function str_repeat(i, m) {
+ for (var o = []; m > 0; o[--m] = i);
+ return o.join('');
+}
+
function sprintf() {
var i = 0, a, f = arguments[i++], o = [], m, p, c, x, s = '';
while (f) {