// 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:
mMarinetti
2011-11-10 14:57:54 +00:00
parent 874a67141f
commit 9963c84fd9
13 changed files with 1626 additions and 1367 deletions
+15 -1
View File
@@ -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";