Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 139
    • Merge requests 139
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • erp5erp5
  • Merge requests
  • !378

Closed
Created Sep 08, 2017 by Nicolas Wavrant@NicolasMaintainer
  • Report abuse
Report abuse

erp5_officejs_support_request_ui: fix undefined error on gadget initialization

  • Overview 4
  • Commits 1
  • 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
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix-support-request
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7