fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [12573] remove obsolete


From: Sigurd Nes
Subject: [Fmsystem-commits] [12573] remove obsolete
Date: Fri, 09 Jan 2015 14:10:57 +0000

Revision: 12573
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12573
Author:   sigurdne
Date:     2015-01-09 14:10:56 +0000 (Fri, 09 Jan 2015)
Log Message:
-----------
remove obsolete

Removed Paths:
-------------
    branches/dev-syncromind/property/js/yahoo/workorder.index.js

Deleted: branches/dev-syncromind/property/js/yahoo/workorder.index.js
===================================================================
--- branches/dev-syncromind/property/js/yahoo/workorder.index.js        
2015-01-09 14:10:13 UTC (rev 12572)
+++ branches/dev-syncromind/property/js/yahoo/workorder.index.js        
2015-01-09 14:10:56 UTC (rev 12573)
@@ -1,173 +0,0 @@
-//--------------------------------------------------------
-// Declaration of workorder.index vars
-//--------------------------------------------------------
-       //define SelectButton
-       var oMenuButton_0, oMenuButton_1, oMenuButton_2, oMenuButton_3, 
oMenuButton_4, oMenuButton_5;
-       var selectsButtons = [
-       {order:0, 
var_URL:'district_id',name:'btn_district_id',style:'districtbutton',dependiente:''},
-       {order:1, 
var_URL:'cat_id',name:'btn_cat_id',style:'categorybutton',dependiente:''},
-       {order:2, 
var_URL:'status_id',name:'btn_status_id',style:'districtbutton',dependiente:''},
-       {order:3, 
var_URL:'wo_hour_cat_id',name:'btn_wo_hour_cat_id',style:'partOFTownbutton',dependiente:''},
-       {order:4, var_URL:'criteria_id', 
name:'btn_criteria_id',style:'criteriabutton',dependiente:''},
-       {order:5, var_URL:'filter_year', 
name:'btn_filter_year',style:'districtbutton',dependiente:''}
-       ]
-
-       // define buttons
-       var oNormalButton_0, oNormalButton_1, oNormalButton_2;
-       var normalButtons = [
-       {order:0, name:'btn_search', funct:"onSearchClick"},
-       {order:1, name:'btn_new', funct:"onNewClick"},
-       {order:2, name:'btn_export', funct:"onDownloadClick"}
-       ]
-
-       // define Text buttons
-       var textImput = [
-       {order:0, name:'query', id:'txt_query'}
-       ]
-
-       var toolTips =
-       [
-               {name:'loc1', title:'', 
description:'',ColumnDescription:'loc1_name'},
-               {name:'vendor_id', title:'', 
description:'',ColumnDescription:'org_name'},
-               {name:'btn_export', title:'Download', description:'Download 
table to your browser',ColumnDescription:''}
-       ]
-
-       var linktoolTips =
-       [
-         {name:'btn_data_search', title:'Date search', description:'Narrow the 
search by dates'}
-       ]
-
-       // define the hidden column in datatable
-       var config_values = {
-        date_search : 1 //if search has link "Data search"
-       };
-
-       this.onChangeSelect = function(type)
-       {
-               var myselect=document.getElementById("sel_"+ type);
-               for (var i=0; i<myselect.options.length; i++)
-               {
-                       if (myselect.options[i].selected==true)
-                       {
-                               break;
-                       }
-               }
-               eval("path_values." +type +"='"+myselect.options[i].value+"'");
-               execute_ds();
-       }
-
-       var oArgs_project = {menuaction:'property.uiproject.edit'};
-       var sUrl_project = phpGWLink('index.php', oArgs_project);
-       
-       var linktToProject = function(elCell, oRecord, oColumn, oData)
-       {
-               elCell.innerHTML = "<a href="+sUrl_project+"&id="+oData+">" + 
oData + "</a>";
-       };
-
-       var oArgs_order = {menuaction:'property.uiworkorder.edit'};
-       var sUrl_order = phpGWLink('index.php', oArgs_order);
-       
-       var linktToOrder = function(elCell, oRecord, oColumn, oData)
-       {
-               elCell.innerHTML = "<a href="+sUrl_order+"&id="+oData+">" + 
oData + "</a>";
-       };
-
-
-       
/********************************************************************************/
-       this.myFormatNum2 = function(Data)
-       {
-               return  YAHOO.util.Number.format(Data, {decimalPlaces:0, 
decimalSeparator:"", thousandsSeparator:" "});
-       }                               
-       
/********************************************************************************/
-       var myFormatCount2 = function(elCell, oRecord, oColumn, oData)
-       {
-               elCell.innerHTML = myFormatNum2(oData);
-       }       
-
-       this.particular_setting = function()
-       {
-               if(flag_particular_setting=='init')
-               {
-                       //district
-                       index = 
locate_in_array_options(0,"value",path_values.district_id);
-                       if(index)
-                       {
-                               oMenuButton_0.set("label", ("<em>" + 
array_options[0][index][1] + "</em>"));
-                       }
-
-                       //category
-                       index = 
locate_in_array_options(1,"value",path_values.cat_id);
-                       if(index)
-                       {
-                               oMenuButton_1.set("label", ("<em>" + 
array_options[1][index][1] + "</em>"));
-                       }
-
-                       //status
-                       index = 
locate_in_array_options(2,"value",path_values.status_id);
-                       if(index)
-                       {
-                               oMenuButton_2.set("label", ("<em>" + 
array_options[2][index][1] + "</em>"));
-                       }
-
-                       //wo_hour_cat_id
-                       index = 
locate_in_array_options(3,"value",path_values.wo_hour_cat_id);
-                       if(index)
-                       {
-                               oMenuButton_3.set("label", ("<em>" + 
array_options[3][index][1] + "</em>"));
-                       }
-
-                       //criteria
-                       index = 
locate_in_array_options(4,"value",path_values.criteria_id);
-                       if(index)
-                       {
-                               oMenuButton_4.set("label", ("<em>" + 
array_options[4][index][1] + "</em>"));
-                       }
-
-                       //year
-                       index = 
locate_in_array_options(5,"value",path_values.filter_year);
-                       if(index)
-                       {
-                               oMenuButton_5.set("label", ("<em>" + 
array_options[5][index][1] + "</em>"));
-                       }
-
-                       //focus initial
-                       //--focus for txt_query---
-                       YAHOO.util.Dom.get(textImput[0].id).focus();
-
-               }
-               else if(flag_particular_setting=='update')
-               {
-                       //nothing
-               }
-       }
-/****************************************************************************************/
-
-       this.myParticularRenderEvent = function()
-       {
-       //don't delete it
-       }
-/****************************************************************************************/
-
-       YAHOO.util.Event.addListener(window, "load", function()
-       {
-               //avoid render buttons html
-               
YAHOO.util.Dom.getElementsByClassName('toolbar','div')[0].style.display = 
'none';
-               var loader = new YAHOO.util.YUILoader();
-               loader.addModule({
-                       name: "anyone", //module name; must be unique
-                       type: "js", //can be "js" or "css"
-                   fullpath: property_js //'property_js' have the path for 
property.js, is render in HTML
-                   });
-
-               loader.require("anyone");
-
-               //Insert JSON utility on the page
-
-           loader.insert();
-       });
-
-
-
-
-
-




reply via email to

[Prev in Thread] Current Thread [Next in Thread]