987bbed3 by Gustavo Seip

[3927] Eliminar boton InsertarRecurso en edicion de cuerpo - backend

1 parent 3ebb0e46
......@@ -2370,13 +2370,7 @@ textEditor.create = function(inputId, type, extra_type, tittle, height, width, p
type: 'push',
label: 'Insertar Embebido',
value: 'insertembed'
},
{
type: 'push',
label: 'Insertar Recurso',
value: 'insertresource'
}
]
}]
};
// ***** tipo de insert *****
......@@ -2504,12 +2498,6 @@ textEditor.create = function(inputId, type, extra_type, tittle, height, width, p
dialogs.textarea('Insertar Código', '', '', 'textEditor.insertEmbed', inputId);
}, textEditor.myEditor[inputId], true);
this.toolbar.on('insertresourceClick', function() {
dialogs.popupCreate(id('iframe'), YuiUtils_APP_URL + 'repositorio/ListadoRecursos/insertarRecurso?callback=textEditor.myEditor["' + inputId + '"].cargarRecurso');
dialogs.popupShow();
return false;
}, textEditor.myEditor[inputId], true);
this.toolbar.on('leftClick', function() {
var iframe = id(inputId + '_editor').contentDocument;
var images = iframe.getElementsByTagName('img');
......@@ -2941,4 +2929,4 @@ textEditor.getValue = function(inputId) {
return content.innerHTML;
}
//############################################################################
\ No newline at end of file
//############################################################################
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!