function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Magnus Kreth TrailblazerMagnus Kreth Trailblazer 

A Visualforce page shown as a custom action in Salesforce1 does not enable the publishers submit button anymore in Spring '16

I am observing a change between Winter '16 and Spring '16 releases. We are using a Visualforce page shown as a custom action on an object in Salesforce1. The publishers "Save" button should be enabled immediately after page load. Up to now we have used the following code:
    <script type="text/javascript">
    Sfdc.canvas.publisher.subscribe({
        name: "publisher.showPanel",
        onData: function (e) {
            Sfdc.canvas.publisher.publish({name: "publisher.setValidForSubmit", payload: "true"});
        }
    });
    </script>

However with Spring '16 the publish({..."...setValidForSubmit"..."true"}) call does not happen anymore, the "Save" button does not get enabled.
Apparently the callback for "publisher.showPanel" does not get invoked anymore.

Does anybody know why? And most important what the now preferred way of enabled the "Save" button is?

Thanks&regards,
Magnus Kreth