#2289 On wiki edit pages, 'cancel' button does nothing

v1.0.0
closed
sf-1 (616)
General
nobody
2015-08-20
2011-06-13
No

It should go back to the View page.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2011-07-01
    • size: --> 1
     
  • Jenny Steele - 2011-07-12

    Fix is on allura js/2289

     
  • Jenny Steele - 2011-07-12
    • status: open --> code-review
    • assigned_to: Tim Van Steenburgh
     
  • I get a 500 when creating a new wiki page. Bottom of stack trace:

    [Thu Jul 14 13:57:06 2011] [error] [client 127.0.0.1] File '/home/tvansteenburgh/tvansteenburgh-6059/forge/ForgeWiki/forgewiki/templates/wiki/page_edit.html', line 60 in block "wiki_extra_js"
    [Thu Jul 14 13:57:06 2011] [error] [client 127.0.0.1]   window.location.href = "{{page.url()}}";
    [Thu Jul 14 13:57:06 2011] [error] [client 127.0.0.1] UndefinedError: 'dict' object has no attribute 'url'
    
    • status: code-review --> in-progress
    • assigned_to: Tim Van Steenburgh --> Jenny Steele
     
  • Jenny Steele - 2011-07-14
    • status: in-progress --> code-review
    • assigned_to: Jenny Steele --> Tim Van Steenburgh
     
  • Jenny Steele - 2011-07-14

    Whoops, fixed that. Now if you cancel when creating a new page, it'll take you back to the wiki home page.

     
    • status: code-review --> closed
    • assigned_to: Tim Van Steenburgh --> Jenny Steele
     

Log in to post a comment.