Form doesn't clear after entries are made on 7.x-1.0

Comments

jeckman’s picture

Assigned: Unassigned » jeckman
mheinke’s picture

im having the same issue

math_1048’s picture

same issue here, do you found any solution please?
thanx and regards

math_1048’s picture

I think This can be solved by replace
"return $output;" in microblog_js() function by

<?php
................................
................................
$form['title']['#value']='';
$commands=array();
$commands[] = ajax_command_replace('#microblog-node-form', drupal_render($form));
$commands[] = ajax_command_before('#microblog-list', drupal_get_title());
 return array('#type' => 'ajax', '#commands' => $commands);
..............................
.............................
?>

or some code like this
hope That help
regards

jeckman’s picture

Just commited a change to 7.x-2.x dev branch for this

jeckman’s picture

Status: Active » Closed (fixed)

Fixed in 7.x-1.2

jeckman’s picture

Fixed in 7.x-1.2