I'm happily using SPRibbonPostBackCommand to a custom save button. It generates a Postback and everything is fine and dandy.
Previously to generating a Postback I would like to make one Javascript call (e.g. to a function RemoveAllStatus()). I tried added an SPRibbonCommand prior to the SPRibbonPostBackCommand, but now only the SPRibbonCommand fires and the postback doesn't fire anymore.
Any ideas? Basically I want to show a "waiting for save" message via Javascript (which of course would be replaced once the page is reloaded after the postback.