Opened 13 years ago
Last modified 13 years ago
#560 new defect
Duplication of Javascript functions
Reported by: | justinrowles | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | Future release |
Component: | General | Version: | v2.6.4 |
Keywords: | Cc: |
Description
doTabAction (for example) is defined in both metadata-editor.js and metadata-view.js.
When the package process runs, it combines both of these into gn.editor.js, which means whatever is in metadata-editor.js is effectively overwritten.
Attachments (1)
Change History (5)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
This, incidentally, is why the screen doesn't get disabled when switching tabs in edit mode. The version in metadata-show doesn't include the disableEditForm call.
comment:4 by , 13 years ago
Priority: | minor → critical |
---|
The same problem occurs with doAction for example.
I'm marking this as critical as I think compiling metadata-editor and metadata-show together into gn.editor.js is silently breaking things (in this case the setBunload functionality).
Oops: metadata-show, not metadata-view.