Download & Extend

Target element refresh does not fire when content is empty

Project:Modal Frame CCK Editor
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

Test case:

1. create textfield, enable modal frame edit "Enabled, and refresh the target element after a successful edit operation"

2. create node with text in textfield

3. edit textfield via modal frame and delete all text, hit submit

The text block will not refresh.

Comments

#1

Status:active» needs review

hmm... here's a quick mini-patch for the file js/parent.js

-  else if (args.content) {
+  else if (typeof args.content == 'string') {

Works?

nobody click here