[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[2625] trunk/UI/lib/elements.html
- Subject: SF.net SVN: ledger-smb:[2625] trunk/UI/lib/elements.html
- From: ..hidden..
- Date: Fri, 05 Jun 2009 20:39:04 +0000
Revision: 2625
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2625&view=rev
Author: einhverfr
Date: 2009-06-05 20:39:03 +0000 (Fri, 05 Jun 2009)
Log Message:
-----------
Correcting patch issues
Modified Paths:
--------------
trunk/UI/lib/elements.html
Modified: trunk/UI/lib/elements.html
===================================================================
--- trunk/UI/lib/elements.html 2009-06-05 00:16:00 UTC (rev 2624)
+++ trunk/UI/lib/elements.html 2009-06-05 20:39:03 UTC (rev 2625)
@@ -132,72 +132,6 @@
<?lsmb END ?>
<?lsmb END ?>
-<?lsmb # AJAX SELECT ELEMENT PAIR ?>
-<?lsmb BLOCK ajaxselect ?>
- <?lsmb IF element_data # Only process element if one exists. ?>
- <?lsmb
- input_defaults = {} # Some inputs have no defaults, so make sure everything is empty to start with.
- element_type = 'input';
- PROCESS auto_id;
- ?>
- <?lsmb PROCESS attributes # Process regular attributes.
- attribute_data = element_data
- attribute_defaults = input_defaults
- element_keys = input_type_keys
- ?>
- <?lsmb PROCESS custom_attributes # Process custom attributes.
- custom_attribute_data=element_data.attributes
- ?>
- <?lsmb PROCESS auto_label # Process element label. ?>
- <input type="text" class="autocomplete" size="60" value="<?lsmb element_data.initial_value ?>" id="<?lsmb attribute_data.id ?>-ac-search" name="<?lsmb attribute_data.id ?>-ac-search" onclick="this.value='';" onblur="this.value = $('<?lsmb attribute_data.id ?>').value" />
- <input type="hidden"<?lsmb all_attributes ?><?lsmb all_custom_attributes ?> value="<?lsmb element_data.initial_value ?>" />
- <span class="indicator" id="<?lsmb attribute_data.id ?>-ac-indicator" style="display: none">Working...</span>
- <div id="<?lsmb attribute_data.id ?>-ac-choices" class="autocomplete"></div>
- <script language="javascript" type="text/javascript"><!--
- function post_ajax_setter(text,li)
- {
- hidden_field_to_update = text.id.substring(0,text.id.length-10);
- $(hidden_field_to_update).value = li.id;
- text.blur();
- }
- new Ajax.Autocompleter('<?lsmb attribute_data.id ?>-ac-search', '<?lsmb attribute_data.id ?>-ac-choices', '<?lsmb element_data.ajax_target ?>', {afterUpdateElement:post_ajax_setter})
- //--></script>
- <?lsmb END ?>
-<?lsmb END ?>
-
-<?lsmb # AJAX SELECT ELEMENT PAIR ?>
-<?lsmb BLOCK ajaxselect ?>
- <?lsmb IF element_data # Only process element if one exists. ?>
- <?lsmb
- input_defaults = {} # Some inputs have no defaults, so make sure everything is empty to start with.
- element_type = 'input';
- PROCESS auto_id;
- ?>
- <?lsmb PROCESS attributes # Process regular attributes.
- attribute_data = element_data
- attribute_defaults = input_defaults
- element_keys = input_type_keys
- ?>
- <?lsmb PROCESS custom_attributes # Process custom attributes.
- custom_attribute_data=element_data.attributes
- ?>
- <?lsmb PROCESS auto_label # Process element label. ?>
- <input type="text" class="autocomplete" size="60" value="<?lsmb element_data.initial_value ?>" id="<?lsmb attribute_data.id ?>-ac-search" name="<?lsmb attribute_data.id ?>-ac-search" onclick="this.value='';" onblur="this.value = $('<?lsmb attribute_data.id ?>').value" />
- <input type="hidden"<?lsmb all_attributes ?><?lsmb all_custom_attributes ?> value="<?lsmb element_data.initial_value ?>" />
- <span class="indicator" id="<?lsmb attribute_data.id ?>-ac-indicator" style="display: none">Working...</span>
- <div id="<?lsmb attribute_data.id ?>-ac-choices" class="autocomplete"></div>
- <script language="javascript" type="text/javascript"><!--
- function post_ajax_setter(text,li)
- {
- hidden_field_to_update = text.id.substring(0,text.id.length-10);
- $(hidden_field_to_update).value = li.id;
- text.blur();
- }
- new Ajax.Autocompleter('<?lsmb attribute_data.id ?>-ac-search', '<?lsmb attribute_data.id ?>-ac-choices', '<?lsmb element_data.ajax_target ?>', {afterUpdateElement:post_ajax_setter})
- //--></script>
- <?lsmb END ?>
-<?lsmb END ?>
-
<?lsmb # SELECT ELEMENT ?>
<?lsmb BLOCK select ?>
<?lsmb IF element_data # Only process element if one exists. ?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.