Show More
@@ -25,10 +25,12 | |||
|
25 | 25 | "backbone", |
|
26 | 26 | ], function (underscore, backbone) { |
|
27 | 27 | |
|
28 | // Backbone.sync method must be in widgetmanager.js file instead of | |
|
29 | // widget.js so it can be overwritten for different contexts. | |
|
28 | 30 | Backbone.sync = function (method, model, options, error) { |
|
29 | 31 | var result = model._handle_sync(method, options); |
|
30 | 32 | if (options.success) { |
|
31 | options.success(result); | |
|
33 | options.success(result); | |
|
32 | 34 | } |
|
33 | 35 | }; |
|
34 | 36 |
General Comments 0
You need to be logged in to leave comments.
Login now