source: branches/2.2/calendar/templates/default/form_button_script_2.tpl @ 5110

Revision 5110, 772 bytes checked in by alexandrecorreia, 12 years ago (diff)

Ticket #2279 - Corrigido bug de Exportar todos contendo agenda compartilhada

  • Property svn:executable set to *
Line 
1
2<!-- BEGIN form_button -->
3<nobr>
4<script>
5        function getUserSelect()
6        {
7                var _select = document.getElementById('userExportCalendar');
8                var _input      = document.getElementById('exportUserId');
9               
10                for( var i = 0; i < _select.options.length; i++ )
11                {
12                        if( _select.options[i].selected )
13                        {
14                                _input.value = _select.options[i].value;
15                        }
16                }
17        }
18</script>
19<form action="{action_url_button}" method="post" name="{action_text_button}form">
20<div style="padding-top:15px; padding-right: 2px">
21        {action_extra_field}
22        <input id="exportUserId" type="hidden" name="exportUserId" value="" />
23        <input id="{button_id}" style="font-size:10px" type="submit" value="{action_text_button}" {action_confirm_button} {onclick_export} >
24</div>
25       
26</form>
27</nobr>
28<!-- END form_button -->
Note: See TracBrowser for help on using the repository browser.