From 81cc7a99782b434bfd482fda8d1cb6cdb004604d Mon Sep 17 00:00:00 2001 From: fnuesse Date: Sun, 30 Dec 2018 20:59:01 +0100 Subject: [PATCH] Added missing translation and removed console logging Signed-off-by: fnuesse --- controller/translationcontroller.php | 1 + js/app/directives/iconpicker.js | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/controller/translationcontroller.php b/controller/translationcontroller.php index 939c6190..fc7d7458 100644 --- a/controller/translationcontroller.php +++ b/controller/translationcontroller.php @@ -144,6 +144,7 @@ class TranslationController extends ApiController { 'pick.icon.custom.label' => $this->trans->t('Upload a custom icon:'), 'use.icon' => $this->trans->t('Use this icon'), 'use.icon.delete' => $this->trans->t('Delete current icon'), + 'use.icon.refresh' => $this->trans->t('Get icon from page'), 'selected.icon' => $this->trans->t('Selected icon'), // templates/views/partials/edit_credential/custom_fields.html diff --git a/js/app/directives/iconpicker.js b/js/app/directives/iconpicker.js index 195ee35e..185624c7 100644 --- a/js/app/directives/iconpicker.js +++ b/js/app/directives/iconpicker.js @@ -121,8 +121,6 @@ scope.customIcon = {}; scope.customIcon.data='data:image/'+response.data.type+';base64,'+response.data.content; - console.log(scope.customIcon.data); - if (response.data) { return response.data; } else {