Merge pull request #767 from ArthurHoaro/feature/delete-tag-redirect

Stay on the changetag page after tag deletion
This commit is contained in:
ArthurHoaro 2017-01-17 09:54:25 +01:00 committed by GitHub
commit 679b6b40db
3 changed files with 3 additions and 3 deletions

View file

@ -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;
} }

View file

@ -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;

View file

@ -35,7 +35,7 @@
&nbsp;<label for="lf_private"><i>Private</i></label><br> &nbsp;<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">
&nbsp;<label for="lf_private"><i>Private</i></label><br> &nbsp;<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">