Changes for page Ajax

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

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

Summary

Details

Page properties
Content
... ... @@ -5,7 +5,7 @@
5 5  </div>
6 6  
7 7  <script type="text/javascript">
8 -$(updateButton).observe('click', function(event) {
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 11     insertion: Insertion.Top