diff options
-rw-r--r-- | controller/translationcontroller.php | 1 | ||||
-rw-r--r-- | js/app/directives/iconpicker.js | 2 |
2 files changed, 1 insertions, 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 { |