Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 142
    • Merge requests 142
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • erp5erp5
  • Merge requests
  • !378

erp5_officejs_support_request_ui: fix undefined error on gadget initialization

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Nicolas Wavrant requested to merge Nicolas/erp5:fix-support-request into master Sep 08, 2017
  • Overview 4
  • Commits 1
  • Pipelines 0
  • Changes 1

I tried to embeed the support request homepage in a "dashboard" page of renderjs website. Without this change I got Error: TypeError: Cannot read property 'field_listbox_begin_from' of undefined .

I think the purpose of the previous call to changeState is to initialize the gadget, unfortunately the result is dropped. I hope this change follows correctly the code.

If some mandatory parameters were to give to the gadget on initialization, maybe some information should be given about them

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-support-request
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7