// 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
This commit is contained in:
mMarinetti
2011-11-10 14:57:54 +00:00
parent 88feeb34b2
commit 55c6ad1dab
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";