Magnus Baneryd
Optimizely
Jan 26, 2010
visibility 6989
star star star star star
(1 votes)

“Breaking” change in the Gadget Ajax framework between the CMS 6 RC1 and the RTM

I am sad to announce that we had to do a behavioral change in the gadget Ajax framework.

Previously when you did an Ajax call (using the gadget framework, gadgetInstance.ajax({..})) we loaded the default view of the gadget (gadget.loadView()) when the call returned. This has now changed so that we do not call gadget.loadView() when the Ajax call returns.

So if you were relying on that the default view was loaded when you did an Ajax post using gadgetInstance.ajax you now have to attach a default success handler and call loadView yourself.

gadgetInstance.ajax({
    type: "POST",
    url: gadgetInstance.getActionPath({ action: "Save" }),
    data: data,
    success: function(e){
        gadgetInstance.loadView();
    }
});
Jan 26, 2010

Comments

error Please login to comment.
Latest blogs
Exciting New DXP Feature: Read Only SQL access for PaaS

Optimizely has just launched a feature that many of us working with CMS PaaS have been waiting for: self-serve read-only SQL access . For the first...

Scott Reed | Nov 24, 2026

SEO Manager for higher ranking

Which pages are missing an SEO title or meta description? Epicweb SEO Manager helps you find them, review AI suggestions alongside each page, and...

Luc Gosso (MVP) | Nov 24, 2026 |

Headless PaaS CMS 13 Masterclass, Part 2: Architecture overview

How Optimizely CMS 13, Optimizely Graph and a Next.js front end fit together, what headless gains and loses on CMS 13, and the stack this mastercla...

Michał Mitas | Nov 24, 2026 |

Free to Grow: Why Optimizely Stopped Calling Itself a DXP (and Why Marketers Should Care)

A rebrand that is really a strategy memo Here is a number that stopped me: 64% of B2B marketing leaders worry that mass AI adoption is creating a...

Leonardo Bravo | Nov 24, 2026