// norms on AdminProductController
// bugfix addfeaturestodb custom values // uses of smartyV3 features (createTemplate, createData) in AdminProducts + admin products forms now extends base form.tpl [+] BO : now tiny_mce can be loaded 'onclick' instead of 'onload' // improvement in adminproduct pages git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10040 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+15
-1
@@ -1,4 +1,9 @@
|
||||
tinyMCE.init({
|
||||
function tinySetup(config)
|
||||
{
|
||||
if(!config)
|
||||
config = {};
|
||||
|
||||
default_config = {
|
||||
mode : "specific_textareas",
|
||||
theme : "advanced",
|
||||
skin:"cirkuit",
|
||||
@@ -25,7 +30,16 @@
|
||||
convert_urls : false,
|
||||
language : iso
|
||||
|
||||
}
|
||||
|
||||
$.each(default_config, function(index, el)
|
||||
{
|
||||
if (config[index] === undefined )
|
||||
config[index] = el;
|
||||
});
|
||||
tinyMCE.init(config);
|
||||
};
|
||||
|
||||
|
||||
function ajaxfilemanager(field_name, url, type, win) {
|
||||
var ajaxfilemanagerurl = ad+"/ajaxfilemanager/ajaxfilemanager.php";
|
||||
|
||||
Reference in New Issue
Block a user