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 ...@@ -2370,13 +2370,7 @@ textEditor.create = function(inputId, type, extra_type, tittle, height, width, p
2370 type: 'push', 2370 type: 'push',
2371 label: 'Insertar Embebido', 2371 label: 'Insertar Embebido',
2372 value: 'insertembed' 2372 value: 'insertembed'
2373 }, 2373 }]
2374 {
2375 type: 'push',
2376 label: 'Insertar Recurso',
2377 value: 'insertresource'
2378 }
2379 ]
2380 }; 2374 };
2381 // ***** tipo de insert ***** 2375 // ***** tipo de insert *****
2382 2376
...@@ -2504,12 +2498,6 @@ textEditor.create = function(inputId, type, extra_type, tittle, height, width, p ...@@ -2504,12 +2498,6 @@ textEditor.create = function(inputId, type, extra_type, tittle, height, width, p
2504 dialogs.textarea('Insertar Código', '', '', 'textEditor.insertEmbed', inputId); 2498 dialogs.textarea('Insertar Código', '', '', 'textEditor.insertEmbed', inputId);
2505 }, textEditor.myEditor[inputId], true); 2499 }, textEditor.myEditor[inputId], true);
2506 2500
2507 this.toolbar.on('insertresourceClick', function() {
2508 dialogs.popupCreate(id('iframe'), YuiUtils_APP_URL + 'repositorio/ListadoRecursos/insertarRecurso?callback=textEditor.myEditor["' + inputId + '"].cargarRecurso');
2509 dialogs.popupShow();
2510 return false;
2511 }, textEditor.myEditor[inputId], true);
2512
2513 this.toolbar.on('leftClick', function() { 2501 this.toolbar.on('leftClick', function() {
2514 var iframe = id(inputId + '_editor').contentDocument; 2502 var iframe = id(inputId + '_editor').contentDocument;
2515 var images = iframe.getElementsByTagName('img'); 2503 var images = iframe.getElementsByTagName('img');
...@@ -2941,4 +2929,4 @@ textEditor.getValue = function(inputId) { ...@@ -2941,4 +2929,4 @@ textEditor.getValue = function(inputId) {
2941 return content.innerHTML; 2929 return content.innerHTML;
2942 } 2930 }
2943 2931
2944 //############################################################################
...\ No newline at end of file ...\ No newline at end of file
2932 //############################################################################
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!