forked from software-project/scrum-pm
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change_5054: Solved issue software-project#66 (software-project#66) o…
…nly for create button not for create and continue. Still working on it
- Loading branch information
LuceIt
committed
Aug 12, 2011
1 parent
273ce57
commit daac23a
Showing
4 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
<script type="text/javascript"> | ||
Event.observe(window, 'load', function(){ | ||
if(<%= issue.redirect_to.nil? ? "false" :"true" %>){ | ||
window.location= '<%= issue.redirect_to %>'; | ||
if(<%= not issue.redirect_to.nil? %>){ | ||
<%= redirect_url = issue.redirect_to | ||
issue.redirect_to = nil | ||
issue.save %> | ||
window.location= '<%= redirect_url %>'; | ||
} | ||
}); | ||
</script> | ||
</script> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters