From 35eb3fdc0c9b1be883f55e937ba20ff73a4063af Mon Sep 17 00:00:00 2001 From: j Date: Wed, 25 Jan 2017 21:48:44 +0100 Subject: [PATCH] remove text sction from embed dialog --- static/js/embedDialog.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/static/js/embedDialog.js b/static/js/embedDialog.js index de118d00..125e3d5e 100644 --- a/static/js/embedDialog.js +++ b/static/js/embedDialog.js @@ -87,12 +87,6 @@ pandora.ui.embedDialog = function(/*[url, ]callback*/) { 'edit', 'editMode', 'position', 'showTimeline', 'showAnnotations', 'matchRatio' ] - }, - { - id: 'text', - title: Ox._('Text'), - description: Ox._('Embed a Text Icon with Description'), - inputs: ['text'] } ].map(function(item, index) { return Ox.extend(item, {index: index}); @@ -321,7 +315,7 @@ pandora.ui.embedDialog = function(/*[url, ]callback*/) { $input.type = Ox.ButtonGroup({ buttons: [ - {id: 'link', title: Ox._('Embed in Texts Section'), width: formWidth / 2, selected: true}, + {id: 'link', title: Ox._('Embed in Text'), width: formWidth / 2, selected: true}, {id: 'iframe', title: Ox._('Embed in External Site'), width: formWidth / 2} ], selectable: true