Skip to content

move clientapi postToAction into dom/Utils.js#8

Closed
labkey-kevink wants to merge 1 commit intodevelopfrom
fb_move_postToAction
Closed

move clientapi postToAction into dom/Utils.js#8
labkey-kevink wants to merge 1 commit intodevelopfrom
fb_move_postToAction

Conversation

@labkey-kevink
Copy link
Copy Markdown
Contributor

  • consolidate three hidden form util methods into one
  • move utility methods touching DOM into dom/Utils.js

- move utility methods touching DOM into dom/Utils.js
@labkey-kevink labkey-kevink requested a review from cnathe March 26, 2019 04:28
Copy link
Copy Markdown
Contributor

@cnathe cnathe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See one comment related to the confirmAndPost impl.

/**
* Documentation available in core/Util.js -- search for "@name confirmAndPost"
*/
impl.confirmAndPost = function (message, href) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Up in the documentation for this confirmAndPost in core/Utils.js, you had a third param for formData. Any reason that was left off here? I assume if it was added it would just be passed along to the formSubmit() call two lines down instead of the empty object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants