Permalink
Browse files

MINOR Removed non-functional "close popup" link from profile editing …

…in CMS (fixes #7343)
  • Loading branch information...
chillu committed May 20, 2012
1 parent 607a9e2 commit 69fbdad722ce25c428653f2c892595886681312c
Showing with 1 addition and 5 deletions.
  1. +1 −5 security/Member.php
View
@@ -1493,11 +1493,7 @@ function dosave($data, $form) {
$form->saveInto($member);
$member->write();
- $closeLink = sprintf(
- '<small><a href="' . $_SERVER['HTTP_REFERER'] . '" onclick="javascript:window.top.GB_hide(); return false;">(%s)</a></small>',
- _t('ComplexTableField.CLOSEPOPUP', 'Close Popup')
- );
- $message = _t('Member.PROFILESAVESUCCESS', 'Successfully saved.') . ' ' . $closeLink;
+ $message = _t('Member.PROFILESAVESUCCESS', 'Successfully saved.');
$form->sessionMessage($message, 'good');
$this->controller->redirectBack();

0 comments on commit 69fbdad

Please sign in to comment.