Metadata
- Source
- FLUID-2260
- Type
- Bug
- Priority
- Critical
- Status
- Closed
- Resolution
- Cannot Reproduce
- Assignee
- N/A
- Reporter
- Justin Obara
- Created
2009-02-18T10:37:18.000-0500 - Updated
2009-03-04T12:33:25.000-0500 - Versions
-
- 0.8
- Fixed Versions
-
- 1.0
- Component
-
- UI Options
Description
Activating the Reset or Cancel button will remove all elements of the UI Options dialog
Steps to reproduce:
1) Open the UI Options example from the daily build site
http://build.fluidproject.org/fluid/fluid-components/html/templates/UIOptions.html
2) Activate either the "Reset" or the "Cancel" button
Notice that all of the elements are removed except for the header.
Environments
Opera 9.5 (Mac OS 10.5, Win XP)
Comments
-
Justin Obara commented
2009-02-18T10:37:51.000-0500 'screenshot-1' shows all of the elements missing, except for the header
-
Justin Obara commented
2009-02-18T10:40:40.000-0500 Does not seem to happen in the Sakai mock-up example
-
Justin Obara commented
2009-02-18T10:44:35.000-0500 Also doesn't seem to happen if you change one of the options first
-
Justin Obara commented
2009-02-18T11:50:31.000-0500 The following Error is displayed in Mac OS
JavaScript - http://build.fluidproject.org/fluid/fluid-components/html/templates/UIOptions.html
Event thread: click
Error:
name: TypeError
message: Statement on line 1351: Cannot convert undefined or null to Object
Backtrace:
Line 1351 of linked script http://build.fluidproject.org/fluid/fluid-components/js/fluid/renderer/fluidRenderer.js
var template = templates[0];
Line 1395 of linked script http://build.fluidproject.org/fluid/fluid-components/js/fluid/renderer/fluidRenderer.js
var rendered = fluid.renderTemplates(templates, tree, options, fossils);
Line 200 of linked script http://build.fluidproject.org/fluid/fluid-components/js/fluid/UIOptions.js
fluid.reRender(template, that.container, fluid.copy(tree), {model: that.renderModel, autoBind: true, debugMode: true});
Line 190 of linked script http://build.fluidproject.org/fluid/fluid-components/js/fluid/UIOptions.js
that.refreshView();
Line 136 of linked script http://build.fluidproject.org/fluid/fluid-components/js/fluid/UIOptions.js
that.reset();
... Line 2577 of linked script http://build.fluidproject.org/fluid/fluid-components/js/jquery/jquery-1.3.1.js
var ret = handler.apply(this, arguments);
... Line 2352 of linked script http://build.fluidproject.org/fluid/fluid-components/js/jquery/jquery-1.3.1.js
return typeof jQuery !== "undefined" && !jQuery.event.triggered ?
...
stacktrace: n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace' -
Justin Obara commented
2009-03-04T12:33:25.000-0500 Cannot reproduce
Tested using:
Opera 9.6 (Mac OS 10.5, Win XP)