From 76d92bf89d624ed66cfd17f0fedf660adb6148e9 Mon Sep 17 00:00:00 2001 From: hates Date: Tue, 31 Oct 2017 14:27:05 +0300 Subject: [PATCH] AssetsView input placeholder text from configuration --- src/asset_manager/config/config.js | 5 ++++- src/asset_manager/view/AssetsView.js | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/asset_manager/config/config.js b/src/asset_manager/config/config.js index a3e62db1a1..4e610428a8 100644 --- a/src/asset_manager/config/config.js +++ b/src/asset_manager/config/config.js @@ -1,4 +1,4 @@ -module.exports = { +module.exports = { // Default assets // eg. [ // 'https://...image1.png', @@ -76,4 +76,7 @@ module.exports = { // Default title for the asset manager modal modalTitle: 'Select Image', + + //Default placeholder for input + inputPlaceholder: 'http://path/to/the/image.jpg' }; diff --git a/src/asset_manager/view/AssetsView.js b/src/asset_manager/view/AssetsView.js index e3173139aa..d125dc1b59 100644 --- a/src/asset_manager/view/AssetsView.js +++ b/src/asset_manager/view/AssetsView.js @@ -16,7 +16,7 @@ module.exports = Backbone.View.extend({
- +