Adding js library to set classes instance abbr and adding maborak.loader.js

This commit is contained in:
ralph
2012-11-26 17:42:27 -04:00
parent 1d9986711e
commit 3d12c70be4
4 changed files with 11 additions and 1 deletions

View File

@@ -723,6 +723,8 @@ return this.dom;}.extend(this);this.dom.remove=function()
{if(radio_name[i].value==radio_value)
{return radio_name[i];}}
return false;}}});
var $=function(el)
{var d=(typeof el=="string")?document.getElementById(el):el;return new leimnud.module.dom.methods(d);};var button=leimnud.module.dom.button;var input=leimnud.module.dom.input;var DOM=leimnud.module.dom.create;var panel=leimnud.module.panel;var select=leimnud.module.dom.select;
leimnud.Package.Public({info:{Class:"maborak",File:"module.dashboard.js",Name:"dashboard",Type:"module",Version:"0.1"},content:function(){this.elements={};this.make=function(options)
{this.options={drag:true,panel:[],data:[]}.concat(options||{});this.drop=new this.parent.module.drop();this.drop.make();var width=this.options.target.offsetWidth-50;this.columns=this.options.data.length;this.widthColumn=(width/this.columns);this.elements.column=[];this.elements.table=$dce('table');$(this.elements.table).setStyle({width:width,borderCollapse:'collapse'})
this.elements.tr=this.elements.table.insertRow(-1);this.options.target.append(this.elements.table);this.matriz=[];for(var i=0;i<this.columns;i++)

View File

@@ -9,7 +9,7 @@
* Copyright (C) 2004 - 2011 Colosa Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as$translationsFile = "/js/ext/translation." . SYS_LANG . ".js";
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
@@ -230,6 +230,7 @@ class headPublisher
}
$head .= $this->headerScript;
$head .= "</script>\n";
$head .= "<script type='text/javascript' src='/js/maborak/core/maborak.loader.js'></script>\n";
return $head;
}

View File

@@ -135,6 +135,12 @@
"mini": "gulliver/js/maborak/core/module.dom.js",
"minify": true
},
{
"name": "module.abbr",
"full": "gulliver/js/maborak/core/module.abbr.js",
"mini": "gulliver/js/maborak/core/module.abbr.js",
"minify": true
},
{
"name": "module.dashboard",
"full": "gulliver/js/maborak/core/module.dashboard.js",

View File

@@ -219,6 +219,7 @@ class dynaformEditor extends WebResource
//for showHide tab option @Neyek
$G_PUBLISH->AddContent('panel-tab', G::LoadTranslation("ID_CONDITIONS_EDITOR"), $sName . '[9]', 'dynaformEditor.changeToShowHide', 'dynaformEditor.saveShowHide');
$G_PUBLISH->AddContent('panel-close');
$oHeadPublisher->addScriptFile("/js/maborak/core/maborak.loader.js",2);
$oHeadPublisher->addScriptFile('/jscore/dynaformEditor/core/dynaformEditor.js');
//$oHeadPublisher->addScriptFile('/js/dveditor/core/dveditor.js');
//$oHeadPublisher->addScriptFile('/codepress/codepress.js',1);