From: <pk...@us...> - 2010-12-20 21:12:40
|
Revision: 31535 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=31535&view=rev Author: pkdille Date: 2010-12-20 21:12:34 +0000 (Mon, 20 Dec 2010) Log Message: ----------- [QT] Quality Team Backport r30334 | chealer | 2010-10-27 04:22:45 +0200 (Wed, 27 Oct 2010) | 4 lines backport r29945 and r30157 [FIX]article: do not need to confirm on preview ans save [FIX] articles: missing needToConfirm=false on cancel button Modified Paths: -------------- branches/5.x/templates/tiki-edit_article.tpl Modified: branches/5.x/templates/tiki-edit_article.tpl =================================================================== --- branches/5.x/templates/tiki-edit_article.tpl 2010-12-20 21:11:51 UTC (rev 31534) +++ branches/5.x/templates/tiki-edit_article.tpl 2010-12-20 21:12:34 UTC (rev 31535) @@ -315,9 +315,9 @@ </table> <div align="center"> - <input type="submit" class="wikiaction" name="preview" value="{tr}Preview{/tr}" /> - <input type="submit" class="wikiaction" name="save" value="{tr}Save{/tr}" /> - {if $articleId}<input type="submit" class="wikiaction tips" title="{tr}Cancel{/tr}|{tr}Cancel the edit, you will lose your changes.{/tr}" name="cancel_edit" value="{tr}Cancel Edit{/tr}" />{/if} + <input type="submit" class="wikiaction" name="preview" value="{tr}Preview{/tr}" onclick="needToConfirm = false;"/> + <input type="submit" class="wikiaction" name="save" value="{tr}Save{/tr}" onclick="needToConfirm = false;"/> + {if $articleId}<input type="submit" class="wikiaction tips" title="{tr}Cancel{/tr}|{tr}Cancel the edit, you will lose your changes.{/tr}" name="cancel_edit" value="{tr}Cancel Edit{/tr}" onclick="needToConfirm = false;" />{/if} </div> </form> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |