Merge pull request #767 from ArthurHoaro/feature/delete-tag-redirect
Stay on the changetag page after tag deletion
This commit is contained in:
commit
679b6b40db
3 changed files with 3 additions and 3 deletions
|
@ -1208,7 +1208,7 @@ function renderPage($conf, $pluginManager, $LINKSDB)
|
||||||
$LINKSDB[$key]=$value;
|
$LINKSDB[$key]=$value;
|
||||||
}
|
}
|
||||||
$LINKSDB->save($conf->get('resource.page_cache'));
|
$LINKSDB->save($conf->get('resource.page_cache'));
|
||||||
echo '<script>alert("Tag was removed from '.count($linksToAlter).' links.");document.location=\'?\';</script>';
|
echo '<script>alert("Tag was removed from '.count($linksToAlter).' links.");document.location=\'?do=changetag\';</script>';
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ strong {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
margin: 5px 5px 0 0;
|
margin: 0 5px 0 0;
|
||||||
color: #606060;
|
color: #606060;
|
||||||
border-style: outset;
|
border-style: outset;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
<label for="lf_private"><i>Private</i></label><br>
|
<label for="lf_private"><i>Private</i></label><br>
|
||||||
{else}
|
{else}
|
||||||
<input type="checkbox" name="lf_private" id="lf_private">
|
<input type="checkbox" name="lf_private" id="lf_private">
|
||||||
<label for="lf_private"><i>Private</i></label><br>
|
<label for="lf_private"><i>Private</i></label><br><br>
|
||||||
{/if}
|
{/if}
|
||||||
<input type="submit" value="Save" name="save_edit" class="bigbutton">
|
<input type="submit" value="Save" name="save_edit" class="bigbutton">
|
||||||
<input type="submit" value="Cancel" name="cancel_edit" class="bigbutton">
|
<input type="submit" value="Cancel" name="cancel_edit" class="bigbutton">
|
||||||
|
|
Loading…
Reference in a new issue