R36984 - /trunk/etemplate/js/et2_widget_selectbox.js

Author: nathangray
New Revision: 36984

URL: http://svn.stylite.de/viewvc/egroupware?rev=36984&view=rev
Log:
Add select to readonly types, display a value that isn’t in the options as blank

Modified:
trunk/etemplate/js/et2_widget_selectbox.js

Modified: trunk/etemplate/js/et2_widget_selectbox.js
URL: http://svn.stylite.de/viewvc/egroupware/trunk/etemplate/js/et2_widget_selectbox.js?rev=36984&r1=36983&r2=36984&view=diff

— trunk/etemplate/js/et2_widget_selectbox.js (original)
+++ trunk/etemplate/js/et2_widget_selectbox.js Tue Oct 18 16:13:44 2011
@@ -264,14 +264,18 @@
this.span.text(option.label);
this.set_statustext(option.title);
}

  •   else if (typeof option == "string")
    
  •   {
    
  •   	this.span.text(option);
    
  •   }
      else
      {
    
  •   	this.span.text(option);
    
  •   	this.span.text("");
      }
    
    }
    });

-et2_register_widget(et2_selectbox_ro, [“menupopup_ro”, “listbox_ro”, “select-cat_ro”,
+et2_register_widget(et2_selectbox_ro, [“menupopup_ro”, “listbox_ro”, “select_ro”, “select-cat_ro”,
“select-account_ro”, “select-percent_ro”, ‘select-priority_ro’, ‘select-access_ro’,
‘select-country_ro’, ‘select-state_ro’, ‘select-year_ro’, ‘select-month_ro’,
‘select-day_ro’, ‘select-dow_ro’, ‘select-hour_ro’, ‘select-number_ro’, ‘select-app_ro’,


All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs