[llvm-commits] [LNT] r164269 - in /lnt/trunk/lnt/server/ui: static/v4_global_status.js templates/v4_global_status.html
Michael Gottesman
mgottesman at apple.com
Wed Sep 19 16:58:34 PDT 2012
Author: mgottesman
Date: Wed Sep 19 18:58:34 2012
New Revision: 164269
URL: http://llvm.org/viewvc/llvm-project?rev=164269&view=rev
Log:
[LNT] v4_global_status.js: Removed context menu right click to view
graph. Maybe when I have more ideas of what to put in the right click
menu, I will put it back in.
Modified:
lnt/trunk/lnt/server/ui/static/v4_global_status.js
lnt/trunk/lnt/server/ui/templates/v4_global_status.html
Modified: lnt/trunk/lnt/server/ui/static/v4_global_status.js
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/static/v4_global_status.js?rev=164269&r1=164268&r2=164269&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/static/v4_global_status.js (original)
+++ lnt/trunk/lnt/server/ui/static/v4_global_status.js Wed Sep 19 18:58:34 2012
@@ -76,17 +76,13 @@
sortrevind.id = "sorttable_sortrevind";
sortrevind.innerHTML = ' ▾';
initial_sort_header.appendChild(sortrevind);
-
- $('.data-cell').contextMenu('contextmenu-datacell', {
- bindings: {
- 'contextMenu-runpage' : function(elt) {
- var new_base = elt.getAttribute('run_id') + '/graph?test.';
- new_base += elt.getAttribute('test_id') + '=' + g.field.toString();
- window.location = UrlReplaceBasename(window.location.toString(),
- new_base);
- }
- }
- });
+
+ $('.data-cell').click(function() {
+ var new_base = this.getAttribute('run_id') + '/graph?test.';
+ new_base += this.getAttribute('test_id') + '=' + g.field.toString();
+ window.location = UrlReplaceBasename(window.location.toString(),
+ new_base);
+ });
};
m.reset_table = function() {
Modified: lnt/trunk/lnt/server/ui/templates/v4_global_status.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_global_status.html?rev=164269&r1=164268&r2=164269&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_global_status.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_global_status.html Wed Sep 19 18:58:34 2012
@@ -19,9 +19,6 @@
filename='jquery/jquery.scrolltofixed/jquery-scrolltofixed.min.js') }}"></script>
<script language="javascript" type="text/javascript"
src="{{ url_for('.static',
- filename='jquery/jquery.contextmenu/jquery.contextMenu.min.js') }}"></script>
- <script language="javascript" type="text/javascript"
- src="{{ url_for('.static',
filename='jquery/jquery.formdefaults/jquery.formdefaults.min.js') }}"></script>
<script language="javascript" type="text/javascript"
src="{{ url_for('.static',
@@ -50,15 +47,6 @@
{% block title %}Global Status - {{ selected_field.title }}{% endblock %}
{% block body %}
-{#
- This div is hidden on load and is there after controlled by the jquery
- context menu script.
-#}
-<div class="contextMenu" id="contextmenu-datacell">
- <ul>
- <li id="contextMenu-runpage">View Graph</li>
- </ul>
-</div>
<div id="emperor-control">
<div id="right-king-control" class="control-panel">
More information about the llvm-commits
mailing list