forked from 0x2620/pandora
remove text sction from embed dialog
This commit is contained in:
parent
35a49c0fd5
commit
35eb3fdc0c
1 changed files with 1 additions and 7 deletions
|
@ -87,12 +87,6 @@ pandora.ui.embedDialog = function(/*[url, ]callback*/) {
|
||||||
'edit', 'editMode', 'position',
|
'edit', 'editMode', 'position',
|
||||||
'showTimeline', 'showAnnotations', 'matchRatio'
|
'showTimeline', 'showAnnotations', 'matchRatio'
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 'text',
|
|
||||||
title: Ox._('Text'),
|
|
||||||
description: Ox._('Embed a Text Icon with Description'),
|
|
||||||
inputs: ['text']
|
|
||||||
}
|
}
|
||||||
].map(function(item, index) {
|
].map(function(item, index) {
|
||||||
return Ox.extend(item, {index: index});
|
return Ox.extend(item, {index: index});
|
||||||
|
@ -321,7 +315,7 @@ pandora.ui.embedDialog = function(/*[url, ]callback*/) {
|
||||||
|
|
||||||
$input.type = Ox.ButtonGroup({
|
$input.type = Ox.ButtonGroup({
|
||||||
buttons: [
|
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}
|
{id: 'iframe', title: Ox._('Embed in External Site'), width: formWidth / 2}
|
||||||
],
|
],
|
||||||
selectable: true
|
selectable: true
|
||||||
|
|
Loading…
Reference in a new issue