1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-12 13:34:39 +02:00

Modal Window and TinyMce Fixes.

This commit is contained in:
Cameron
2013-03-04 22:59:03 -08:00
parent 6ba120e826
commit f666d18f6c
13 changed files with 185 additions and 157 deletions

View File

@@ -23,19 +23,21 @@
ed.addCommand('mceibrowser', function() {
ed.windowManager.open({
file : url + '/ibrowser.php',
width : 830 + parseInt(ed.getLang('ibrowser.delta_width', 0)),
height : 770 + parseInt(ed.getLang('ibrowser.delta_height', 0)),
inline : 1
width : 1050, // + parseInt(ed.getLang('ibrowser.delta_width', 0)),
height : 520, // + parseInt(ed.getLang('ibrowser.delta_height', 0)),
inline : 1,
title : 'Media Manager',
}, {
plugin_url : url, // Plugin absolute URL
some_custom_arg : 'custom arg' // Custom argument
modal_caption : 'custom arg' // Custom argument
});
});
// Register ibrowser button
ed.addButton('ibrowser', {
title : 'ibrowser.desc',
// cmd : 'mceibrowser',
cmd : 'mceibrowser',
/*
onclick: function() {
// $('div.modal-body').load(url + "/ibrowser.php");
@@ -50,6 +52,7 @@
opacity: 0.4
});
},
*/
image : url + '/images/ibrowser.gif'
});