Activity log for bug #1465003

Date Who What changed Old value New value Message
2015-06-14 12:26:32 Sam Bull bug added bug
2015-06-14 12:27:49 Sam Bull description "document.contents[foo] = bar" has no effect. This results in needing to write the above code as: var temp = document.contents temp[foo] = bar document.contents = temp This is annoying and not nice code everytime I want to update a single value. Proposed solution: Allow saving keys directly. If for some reason this is absolutely not possible, atleast throw an error or display or warning when an assignment is attempted, as it is clearly not the desired behaviour that the above line of code does absolutely nothing. "document.contents[foo] = bar" has no effect. This results in needing to write the above code as:   var temp = document.contents   temp[foo] = bar   document.contents = temp This is annoying and ugly code everytime I want to update a single value. Proposed solution:   Allow saving keys directly.   If for some reason this is absolutely not possible, atleast throw an error or display a warning when an assignment is attempted, as it is clearly not the desired behaviour that the above line of code does absolutely nothing.
2015-07-27 11:45:41 Cris Dywan affects ubuntu-ui-toolkit (Ubuntu) u1db-qt (Ubuntu)
2015-07-27 11:49:48 Launchpad Janitor u1db-qt (Ubuntu): status New Confirmed