Side navigation
#4957 closed bug (invalid)
Opened July 23, 2009 03:03PM UTC
Closed June 13, 2010 01:43PM UTC
Created input fields crash safari:
Reported by: | DanielM | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | unfiled | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When executing the code:
var $msg = $("#manage_inner_prompt > .message");
if ($msg.length) {
$msg.html(""); Clear message
$msg.addClass("rmedittrack");
Test for element
var $div = $("<div />").attr("id", "edit_track");
$msg.append($div);
$div.append($("<input />").attr("name", "Edit").attr("value", iDreamManager.Manage.CurrentlySelectedItem.attr("rel")).attr("type", "hidden"));
$div.append($("<div />").attr("class", "edit_line").append($("<label />").text("Title:")).append($("<input />").attr("id", "txTitle").attr("type", "text").attr("name", "D_Title")));
$div.append($("<div />").attr("class", "edit_line").append($("<label />").text("Description: ")).append($("<input />").attr("id", "txDesc").attr("type", "text").attr("name", "D_Desc")));
$div.append($("<div />").attr("class", "edit_line").append($("<label />").text("Genre:")).append($("<select />").attr("id", "txGenre").attr("name", "D_Genre")));
$div.append($("<div />").attr("class", "edit_line").append($("<label />").text("Price: ")).append($("<input />").attr("id", "txPrice").attr("type", "text").attr("name", "D_Price").attr("class", "price")));
....
(this is executed on an element made visible inside a blocked div)
When trying to use any of the input elements - they appear to be read only, however when you pase content into them, they cause the browser to horribly crash - this was replicated on Safari (win/mac) and Google Chrome. The above code executes in firefox and internet explorer without fault though. I'd appreciate any feedback on this - and before asked I have tried to wrap the inputs in a form with no effect.
Regards,
Dan Munn
Attachments (0)
Change History (1)
Changed June 13, 2010 01:43PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
Can you reopen with a complete test case?