[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [10238] controller: generalize
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [10238] controller: generalize |
Date: |
Wed, 17 Oct 2012 07:08:46 +0000 |
Revision: 10238
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10238
Author: sigurdne
Date: 2012-10-17 07:08:46 +0000 (Wed, 17 Oct 2012)
Log Message:
-----------
controller: generalize
Added Paths:
-----------
trunk/controller/js/yahoo/register_control.js
Removed Paths:
-------------
trunk/controller/js/yahoo/register_control_to_component2.js
Added: trunk/controller/js/yahoo/register_control.js
===================================================================
--- trunk/controller/js/yahoo/register_control.js
(rev 0)
+++ trunk/controller/js/yahoo/register_control.js 2012-10-17 07:08:46 UTC
(rev 10238)
@@ -0,0 +1,32 @@
+ var FormatterRight = function(elCell, oRecord, oColumn, oData)
+ {
+ elCell.innerHTML = "<div align=\"right\">"+oData+"</div>";
+ }
+
+ var FormatterCenter = function(elCell, oRecord, oColumn, oData)
+ {
+ elCell.innerHTML = "<center>"+oData+"</center>";
+ }
+
+
+ function checkAll(myclass)
+ {
+ controls = YAHOO.util.Dom.getElementsByClassName(myclass);
+
+ for(i=0;i<controls.length;i++)
+ {
+ if(!controls[i].disabled)
+ {
+
+ if(controls[i].checked)
+ {
+ controls[i].checked = false;
+ }
+ else
+ {
+ controls[i].checked = true;
+ }
+ }
+ }
+ }
+
Deleted: trunk/controller/js/yahoo/register_control_to_component2.js
===================================================================
--- trunk/controller/js/yahoo/register_control_to_component2.js 2012-10-16
11:36:14 UTC (rev 10237)
+++ trunk/controller/js/yahoo/register_control_to_component2.js 2012-10-17
07:08:46 UTC (rev 10238)
@@ -1,32 +0,0 @@
- var FormatterRight = function(elCell, oRecord, oColumn, oData)
- {
- elCell.innerHTML = "<div align=\"right\">"+oData+"</div>";
- }
-
- var FormatterCenter = function(elCell, oRecord, oColumn, oData)
- {
- elCell.innerHTML = "<center>"+oData+"</center>";
- }
-
-
- function checkAll(myclass)
- {
- controls = YAHOO.util.Dom.getElementsByClassName(myclass);
-
- for(i=0;i<controls.length;i++)
- {
- if(!controls[i].disabled)
- {
-
- if(controls[i].checked)
- {
- controls[i].checked = false;
- }
- else
- {
- controls[i].checked = true;
- }
- }
- }
- }
-
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [10238] controller: generalize,
Sigurd Nes <=