Closed (fixed)
Project:
Uniqueness
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2013 at 17:51 UTC
Updated:
7 Feb 2013 at 19:50 UTC
Jump to comment: Most recent file
Follow-up for #1893812: When editing a code with related content, start out displaying the related content:
DanChadwick: This does raise the question about why the jQuery removes clears the widget upon preview. Why is this desirable? I think we should also eliminate passing the preview setting to the jQuery, and the jQuery code that uses this flag to initially clear the contents. Perhaps there is a use case I don't understand. I'll leave this for a separate issue.
With the commit for the issue above I commented the mentioned uniqueness.clear() statement out. This seems to fix node previews. As Dan suggests we should cleanup the code around it...
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | uniqueness-preview_cleanup-1897880-1.patch | 3.51 KB | danchadwick |
Comments
Comment #1
danchadwick commentedHere's a patch against the current 7.x-1.x. All it does is remove the unused vestiges of special preview logic and clean up a couple of comments related to preview.
Comment #2
bforchhammer commentedCleaned up a few more comments and committed. Thanks!