From 5332c1225ad00618ba693ec76af1938853726ab1 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 9 Feb 2013 01:59:43 +0000 Subject: [PATCH] replace one more editFile with editFiles --- static/js/pandora/filesView.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/static/js/pandora/filesView.js b/static/js/pandora/filesView.js index 6414dcdc..5c93dac0 100644 --- a/static/js/pandora/filesView.js +++ b/static/js/pandora/filesView.js @@ -226,9 +226,11 @@ pandora.ui.filesView = function(options, self) { if (data.key == 'selected') { var ignored = self.$filesList.value(data.id, 'instances') .filter(function(i) {return i.ignore; }).length > 0; - pandora.api.editFile({ - id: data.id, - ignore: !ignored + pandora.api.editFiles({ + files: [{ + id: data.id, + ignore: !ignored + }] }, function(result) { Ox.Request.clearCache(); self.$filesList.reloadList();