summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-17 09:36:20 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-17 09:36:20 +0000
commit760dd70519ade43df447196bc29063fe118908b4 (patch)
tree755b63db378f3b63cfb77cdb8284199d0637d594 /templates
parent715ddba1dcc1454000180bd2d30e553b3f036d0a (diff)
downloadsemanticscuttle-760dd70519ade43df447196bc29063fe118908b4.tar.gz
semanticscuttle-760dd70519ade43df447196bc29063fe118908b4.tar.bz2
Bug fix: correct popup behaviour.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@284 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates')
-rw-r--r--templates/editbookmark.tpl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/editbookmark.tpl.php b/templates/editbookmark.tpl.php
index bbf3484..8031aad 100644
--- a/templates/editbookmark.tpl.php
+++ b/templates/editbookmark.tpl.php
@@ -95,7 +95,7 @@ $this->includeTemplate("dojo.inc");
<td></td>
<td>
<input type="submit" name="submitted" value="<?php echo $btnsubmit; ?>" />
- <input type="button" name="cancel" value="<?php echo T_('Cancel') ?>" onclick="javascript: history.go(-1)" />
+ <input type="button" name="cancel" value="<?php echo T_('Cancel') ?>" onclick="<?php echo $popup?'window.close();':'javascript: history.go(-1)'; ?>" />
<?php
if (isset($showdelete) && $showdelete) {
?>