Last change
on this file since 959 was
959,
checked in by j.a.m.wesbeek@…, 12 years ago
|
|
-
Property svn:keywords set to
Author Date Rev
|
File size:
1.0 KB
|
Line | |
---|
1 | <% |
---|
2 | /** |
---|
3 | * Finish page |
---|
4 | * |
---|
5 | * @author Jeroen Wesbeek |
---|
6 | * @since 20100212 |
---|
7 | * @package wizard |
---|
8 | * @see dbnp.studycapturing.WizardTagLib::previousNext |
---|
9 | * @see dbnp.studycapturing.WizardController |
---|
10 | * |
---|
11 | * Revision information: |
---|
12 | * $Rev: 959 $ |
---|
13 | * $Author: j.a.m.wesbeek@umail.leidenuniv.nl $ |
---|
14 | * $Date: 2010-10-20 19:13:14 +0000 (wo, 20 okt 2010) $ |
---|
15 | */ |
---|
16 | %> |
---|
17 | <wizard:pageContent> |
---|
18 | |
---|
19 | <script type="text/javascript"> |
---|
20 | $(document).ready(function() { |
---|
21 | handleDots(); |
---|
22 | goToSave(); |
---|
23 | }); |
---|
24 | |
---|
25 | function handleDots() { |
---|
26 | var dots = $('#dots'); |
---|
27 | |
---|
28 | if (dots[0]) { |
---|
29 | var html = dots.html(); |
---|
30 | dots.html( ((html.length) < 5) ? html+"." : "") |
---|
31 | setTimeout("handleDots();", 1000); |
---|
32 | } |
---|
33 | } |
---|
34 | |
---|
35 | function goToSave() { |
---|
36 | <wizard:ajaxSubmitJs name="next" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /> |
---|
37 | } |
---|
38 | </script> |
---|
39 | |
---|
40 | <span class="info"> |
---|
41 | <span class="spinner">Saving study</span> |
---|
42 | <img src="${resource(dir: 'images', file: 'spinner.gif')}"> |
---|
43 | Please wait your study is being saved <span id="dots"></span> |
---|
44 | </span> |
---|
45 | |
---|
46 | </wizard:pageContent> |
---|
Note: See
TracBrowser
for help on using the repository browser.