imports/vx/client/code/ux.js
/**
     * Convenience method for saving when using a form footer.
     *
     * @param {object} form Form to be saved.
     * @param {object} laddaCallback Callback to stop save ladda.
     * @param {boolean} nomessage True to suppress "saved successfully" message.
     * @param {function} userCallback Optional callback to invoke on successful save.
     */
Convenience method for saving when using a form footer.
@param {object} form Form to be saved.
@param {object} laddaCallback Callback to stop save ladda.
@param {boolean} nomessage True to suppress "saved successfully" message.
@param {function} userCallback Optional callback to invoke on successful save.
Convenience method for saving when using a form footer . @param { object } form Form to be saved . @param { object } laddaCallback Callback to stop save ladda . @param { boolean } nomessage True to suppress " saved successfully " message . @param { function } userCallback Optional callback to invoke on successful save .
save(form, laddaCallback, nomessage, userCallback) {
        if (!UX.checkForm(form)) {
            laddaCallback(false)
            return
        }
        UX.saveForm(form, laddaCallback, nomessage, userCallback)
    }
save ( form , laddaCallback , nomessage , userCallback ) { if ( ! UX . checkForm ( form ) ) { laddaCallback ( false ) return } UX . saveForm ( form , laddaCallback , nomessage , userCallback ) }
Convenience method for saving when using a form footer.
Convenience method for saving when using a form footer .