[Reconnoiter-devel] [reconnoiter commit] r755 - in trunk/ui/web/htdocs: . css js

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Tue Jun 16 10:47:53 EDT 2009


Author: umar
Date: 2009-06-16 10:47:53 -0400 (Tue, 16 Jun 2009)
New Revision: 755

Modified:
   trunk/ui/web/htdocs/css/style.css
   trunk/ui/web/htdocs/js/recon.js
   trunk/ui/web/htdocs/worksheet_panel.inc
Log:
minor change to make permalinked worksheets' title uneditable. refs #100

Modified: trunk/ui/web/htdocs/css/style.css
===================================================================
--- trunk/ui/web/htdocs/css/style.css	2009-06-15 23:07:39 UTC (rev 754)
+++ trunk/ui/web/htdocs/css/style.css	2009-06-16 14:47:53 UTC (rev 755)
@@ -770,7 +770,7 @@
 height:180px;
 width:380px;
 }
-#drawing_board h2#worksheetTitle {
+#drawing_board h2.ws_title {
 margin: 10px;
 border: none;
 text-align: center;

Modified: trunk/ui/web/htdocs/js/recon.js
===================================================================
--- trunk/ui/web/htdocs/js/recon.js	2009-06-15 23:07:39 UTC (rev 754)
+++ trunk/ui/web/htdocs/js/recon.js	2009-06-16 14:47:53 UTC (rev 755)
@@ -756,7 +756,7 @@
           sids+= "/"+sid+"@"+sidneed[sid];
         }
 
-         //console.log("sids requestd from noit server = ", sids);
+	//console.log("sids requestd from noit server = ", sids);
          $('#streambox').html('<iframe src="http://bob.office.omniti.com/data'+sids+'"></iframe>');
      });
   }
@@ -802,7 +802,7 @@
 
       plot_board = $('#'+divid);
 
-	plot_board.append('<h2 id="worksheetTitle">Worksheet Title</h2>\
+	plot_board.append('<h2 class="ws_title" id="worksheetTitlePerma">Worksheet Title</h2>\
                  <p/>\
                  <div id="ws_datetool">\
                  <div class="zoom">\
@@ -844,10 +844,6 @@
       $.getJSON("json/worksheet/info/" + id, process_worksheet_json);
       locked = true;
       lock_wforms();
-      //user can try to edit the worksheet title, but we dont save it...
-      $("h2#worksheetTitle").editable(function(value, settings) {
-	      return;
-      }, { });      
   }
 
   function render_graph_inpage(divid, id, start, end) {
@@ -1077,7 +1073,7 @@
     wsinfo.graphs = new Array();
 
     var ul = $("ul#worksheet-graphs");
-    $("h2#worksheetTitle").html(r.title);
+    $("h2.ws_title").html(r.title);
     ul.empty();
     for(var i = 0; i < r.graphs.length; i++) {
       var g = {};

Modified: trunk/ui/web/htdocs/worksheet_panel.inc
===================================================================
--- trunk/ui/web/htdocs/worksheet_panel.inc	2009-06-15 23:07:39 UTC (rev 754)
+++ trunk/ui/web/htdocs/worksheet_panel.inc	2009-06-16 14:47:53 UTC (rev 755)
@@ -2,7 +2,7 @@
 <span class="blankWorksheet">New Blank</span>
 <span class="editWorksheet">Editing!</span>
 <span class="permalink" id="wpermalink"><a href="">Link</a></span>
-<h2 id="worksheetTitle">Worksheet Title</h2>
+<h2 class="ws_title" id="worksheetTitle">Worksheet Title</h2>
 <p/>
 
 <div id="ws_datetool">



More information about the Reconnoiter-devel mailing list