Changes for page Ajax

Last modified by Jean-Vincent Drean on 2011/02/25 14:37

From version 1.1
edited by Jean-Vincent Drean
on 2011/02/25 15:36
Change comment: There is no comment for this version
To version 1.2
edited by Jean-Vincent Drean
on 2011/02/25 15:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,7 +4,7 @@
4 4  <input type="button" id="updateButton"/>
5 5  </div>
6 6  
7 -<script type="">
7 +<script type="text/javascript">
8 8  $(updateButton).observe('click', function(event) {
9 9   new Ajax.Updater('box', '/xwiki/rest/wikis/xwiki/spaces/XWiki/pages/XWikiPreferences/objects/XWiki.XWikiPreferences/0/properties/colorTheme', {
10 10     method: 'get',
... ... @@ -11,4 +11,5 @@
11 11     insertion: Insertion.Top
12 12    });
13 13  });
14 +</script>
14 14  {{/html}}