Skip to content

Commit

Permalink
Fixed issue #08492: Cannot add or remove subquestion or answers in IE
Browse files Browse the repository at this point in the history
Dev: Fixed poorly formed jQuery code
  • Loading branch information
tpartner committed Dec 26, 2013
1 parent 4fdc336 commit 06a6554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/admin/admin_core.js
Expand Up @@ -684,8 +684,8 @@ function removeCSRFDivs()
$('input[name=YII_CSRF_TOKEN]').each(function(){
parent = $(this).parent();
grandfather = $(parent).parent();
grandfather.append(this);
parent.remove();
$(grandfather).append(this);
$(parent).remove();
});
}

Expand Down

1 comment on commit 06a6554

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure this function still needed ?
I comment whole for subquestion, seems OK ?

Maybe you can do some test too Tony ?

Please sign in to comment.