Vaporize commas after the last element in an array or object
authorTim Düsterhus <timwolla@arcor.de>
Sat, 7 Jan 2012 16:58:37 +0000 (17:58 +0100)
committerTim Düsterhus <timwolla@arcor.de>
Sat, 7 Jan 2012 16:58:37 +0000 (17:58 +0100)
wcfsetup/install/files/js/WCF.js

index 81e1706094069bebd7989fd2e505d7315ccb76cf..6c02a1f9a263410a44ddb59cf0c9695043a0a0ca 100644 (file)
@@ -4238,19 +4238,19 @@ $.widget('ui.wcfPages', {
                                // you can prevent the page switching by returning false or by event.preventDefault()
                                // in a shouldSwitch-callback. e.g. if an AJAX request is already running.
                                var $result = this._trigger('shouldSwitch', undefined, {
-                                       nextPage: value,
+                                       nextPage: value
                                });
                                
                                if ($result) {
                                        this.options[key] = value;
                                        this._render();
                                        this._trigger('switched', undefined, {
-                                               activePage: value,
+                                               activePage: value
                                        });
                                }
                                else {
                                        this._trigger('notSwitched', undefined, {
-                                               activePage: value,
+                                               activePage: value
                                        });
                                }
                        }