|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<title>Redmine - context_menu.js.patch - Redmine</title>
|
|
<meta name="description" content="Redmine" />
|
|
<meta name="keywords" content="issue,bug,tracker,project,management" />
|
|
<link href="/themes/redmine/stylesheets/application.css?1268079058" media="all" rel="stylesheet" type="text/css" />
|
|
<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js" type="text/javascript"></script>
|
|
<script src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.2/effects.js" type="text/javascript"></script>
|
|
<script src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.2/dragdrop.js" type="text/javascript"></script>
|
|
<script src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.2/controls.js" type="text/javascript"></script>
|
|
<script src="/javascripts/application.js?1269784251" type="text/javascript"></script>
|
|
<link href="/stylesheets/jstoolbar.css?1222021454" media="screen" rel="stylesheet" type="text/css" />
|
|
<!--[if IE]>
|
|
<style type="text/css">
|
|
* html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); }
|
|
body {behavior: url(/stylesheets/csshover.htc?1207248491);}
|
|
</style>
|
|
<![endif]-->
|
|
|
|
<!-- page specific tags -->
|
|
<link href="/stylesheets/scm.css?1269784251" media="screen" rel="stylesheet" type="text/css" /></head>
|
|
<body>
|
|
<div id="wrapper">
|
|
<div id="wrapper2">
|
|
<div id="top-menu">
|
|
<div id="account">
|
|
<ul><li><a href="/login" class="login">Sign in</a></li>
|
|
<li><a href="/account/register" class="register">Register</a></li></ul> </div>
|
|
|
|
<ul><li><a href="/" class="home">Home</a></li>
|
|
<li><a href="/projects" class="projects">Projects</a></li>
|
|
<li><a href="http://www.redmine.org/guide" class="help">Help</a></li></ul></div>
|
|
|
|
<div id="header">
|
|
<div id="quick-search">
|
|
<form action="/search/index/redmine" method="get">
|
|
|
|
<a href="/search/index/redmine" accesskey="4">Search</a>:
|
|
<input accesskey="f" class="small" id="q" name="q" size="20" type="text" />
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<h1>Redmine</h1>
|
|
|
|
|
|
<div id="main-menu">
|
|
<ul><li><a href="/projects/redmine" class="overview">Overview</a></li>
|
|
<li><a href="/wiki/redmine/Download" class="download">Download</a></li>
|
|
<li><a href="/projects/redmine/activity" class="activity">Activity</a></li>
|
|
<li><a href="/projects/redmine/roadmap" class="roadmap">Roadmap</a></li>
|
|
<li><a href="/projects/redmine/issues" class="issues">Issues</a></li>
|
|
<li><a href="/projects/redmine/news" class="news">News</a></li>
|
|
<li><a href="/projects/redmine/wiki" class="wiki">Wiki</a></li>
|
|
<li><a href="/projects/redmine/boards" class="boards">Forums</a></li>
|
|
<li><a href="/projects/redmine/repository" class="repository">Repository</a></li></ul>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="" id="main">
|
|
<div id="sidebar">
|
|
|
|
|
|
|
|
<br />
|
|
<script type="text/javascript"><!--
|
|
google_ad_client = "pub-0447284344517370";
|
|
google_alternate_color = "FFFFFF";
|
|
google_ad_width = 160;
|
|
google_ad_height = 600;
|
|
google_ad_format = "160x600_as";
|
|
google_ad_type = "text_image";
|
|
google_ad_channel = "";
|
|
google_color_border = "EEEEEE";
|
|
google_color_bg = "FFFFFF";
|
|
google_color_link = "484848";
|
|
google_color_text = "484848";
|
|
google_color_url = "2A5685";
|
|
//-->
|
|
</script>
|
|
<script type="text/javascript"
|
|
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
|
|
</script>
|
|
<br />
|
|
<br />
|
|
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
|
<input type="hidden" name="cmd" value="_s-xclick">
|
|
<input type="hidden" name="hosted_button_id" value="438370">
|
|
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="">
|
|
<img alt="" border="0" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div id="content">
|
|
|
|
|
|
<h2>context_menu.js.patch</h2>
|
|
|
|
<div class="attachments">
|
|
<p>
|
|
<span class="author">Alain Gandon, 2010-05-01 10:54</span></p>
|
|
<p><a href="/attachments/download/3656/context_menu.js.patch">Download</a> <span class="size">(650 Bytes)</span></p>
|
|
|
|
</div>
|
|
|
|
<div class="autoscroll">
|
|
<table class="filecontent syntaxhl">
|
|
<thead>
|
|
<tr><th colspan="3" class="filename">context_menu.js (working copy)
|
|
</th></tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<th class="line-num">95</th>
|
|
<th class="line-num">95</th>
|
|
<td class="line-code ">
|
|
<pre> </pre>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th class="line-num">96</th>
|
|
<th class="line-num">96</th>
|
|
<td class="line-code ">
|
|
<pre> createMenu: function() {</pre>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th class="line-num">97</th>
|
|
<th class="line-num">97</th>
|
|
<td class="line-code ">
|
|
<pre> if (!$('context-menu')) {</pre>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th class="line-num">98</th>
|
|
<th class="line-num"></th>
|
|
<td class="line-code diff_out">
|
|
<pre> var menu = document.createElement("div");</pre>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th class="line-num">99</th>
|
|
<th class="line-num"></th>
|
|
<td class="line-code diff_out">
|
|
<pre> menu.setAttribute("id", "context-menu");</pre>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th class="line-num">100</th>
|
|
<th class="line-num"></th>
|
|
<td class="line-code diff_out">
|
|
<pre> menu.setAttribute("style", "display:none;");</pre>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th class="line-num">101</th>
|
|
<th class="line-num"></th>
|
|
<td class="line-code diff_out">
|
|
<pre> document.getElementById("content").appendChild(menu);</pre>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th class="line-num"></th>
|
|
<th class="line-num">98</th>
|
|
<td class="line-code diff_in">
|
|
<pre> var menu = new Element('div');</pre>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th class="line-num"></th>
|
|
<th class="line-num">99</th>
|
|
<td class="line-code diff_in">
|
|
<pre> menu.writeAttribute('id', 'context-menu');</pre>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th class="line-num"></th>
|
|
<th class="line-num">100</th>
|
|
<td class="line-code diff_in">
|
|
<pre> menu.setStyle({</pre>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th class="line-num"></th>
|
|
<th class="line-num">101</th>
|
|
<td class="line-code diff_in">
|
|
<pre> 'display':'none'</pre>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th class="line-num"></th>
|
|
<th class="line-num">102</th>
|
|
<td class="line-code diff_in">
|
|
<pre> });</pre>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th class="line-num"></th>
|
|
<th class="line-num">103</th>
|
|
<td class="line-code diff_in">
|
|
<pre> $('content').insert(menu);</pre>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th class="line-num">102</th>
|
|
<th class="line-num">104</th>
|
|
<td class="line-code ">
|
|
<pre> }</pre>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th class="line-num">103</th>
|
|
<th class="line-num">105</th>
|
|
<td class="line-code ">
|
|
<pre> },</pre>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th class="line-num">104</th>
|
|
<th class="line-num">106</th>
|
|
<td class="line-code ">
|
|
<pre> </pre>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div style="clear:both;"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="ajax-indicator" style="display:none;"><span>Loading...</span></div>
|
|
|
|
<div id="footer">
|
|
<div class="bgl"><div class="bgr">
|
|
Powered by <a href="http://www.redmine.org/">Redmine</a> © 2006-2010 Jean-Philippe Lang
|
|
</div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|