|
From: <j-...@us...> - 2011-12-12 17:46:19
|
Revision: 571
http://openautomation.svn.sourceforge.net/openautomation/?rev=571&view=rev
Author: j-n-k
Date: 2011-12-12 17:46:08 +0000 (Mon, 12 Dec 2011)
Log Message:
-----------
Fixed error in diagram_info update-function
Modified Paths:
--------------
CometVisu/trunk/visu/plugins/diagram/structure_plugin.js
Modified: CometVisu/trunk/visu/plugins/diagram/structure_plugin.js
===================================================================
--- CometVisu/trunk/visu/plugins/diagram/structure_plugin.js 2011-12-12 17:32:32 UTC (rev 570)
+++ CometVisu/trunk/visu/plugins/diagram/structure_plugin.js 2011-12-12 17:46:08 UTC (rev 571)
@@ -305,7 +305,11 @@
return ret_val;
},
- update: defaultUpdate,
+ update: function(e,d) {
+ var element = $(this);
+ var value = defaultUpdate( e, d, element );
+ element.addClass('switchUnpressed');
+ },
attributes: {
rrd: {type: "string", required: true},
unit: {type: "string", required: false},
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|