1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-18 00:06:26 +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,8 +23,8 @@
ed.addCommand('mceEmotion', function() {
ed.windowManager.open({
file : url + '/emoticons.php',
width : 220 + parseInt(ed.getLang('emoticons.delta_width', 0)),
height : 220 + parseInt(ed.getLang('emoticons.delta_height', 0)),
width : 480 + parseInt(ed.getLang('emoticons.delta_width', 0)),
height : 340 + parseInt(ed.getLang('emoticons.delta_height', 0)),
inline : 1
}, {
plugin_url : url, // Plugin absolute URL
@@ -35,13 +35,13 @@
// Register example button
ed.addButton('emoticons', {
title : 'emoticons.desc',
onclick: function(){
// onclick: function(){
cmd : 'mceEmotion',
// $("div.modal-body").html('hi there');
$('div.modal-body').load(url + "/emoticons.php");
$('#uiModal').modal('show');
// $('div.modal-body').load(url + "/emoticons.php");
// $('#uiModal').modal('show');
/*
$.colorbox({
@@ -54,7 +54,7 @@
scrolling: false
});
*/
},
// },
//cmd : 'mceEmotion',
image : url + '/images/emoticons.png'
});