|
From: <j-...@us...> - 2012-01-31 19:14:31
|
Revision: 674
http://openautomation.svn.sourceforge.net/openautomation/?rev=674&view=rev
Author: j-n-k
Date: 2012-01-31 19:14:25 +0000 (Tue, 31 Jan 2012)
Log Message:
-----------
Mssing second file for changeset 673
Modified Paths:
--------------
CometVisu/trunk/visu/lib/templateengine.js
Modified: CometVisu/trunk/visu/lib/templateengine.js
===================================================================
--- CometVisu/trunk/visu/lib/templateengine.js 2012-01-31 19:10:49 UTC (rev 673)
+++ CometVisu/trunk/visu/lib/templateengine.js 2012-01-31 19:14:25 UTC (rev 674)
@@ -295,8 +295,10 @@
// then the stylings
$( 'meta > stylings styling', xml ).each( function(i){
var name = $(this).attr('name');
+ var classnames = '';
stylings[ name ] = {};
$(this).find('entry').each( function(){
+ classnames += $(this).text() + ' ';
if( $(this).attr('value') )
{
stylings[ name ][ $(this).attr('value') ] = $(this).text();
@@ -304,8 +306,10 @@
if( ! stylings[ name ][ 'range' ] ) stylings[ name ][ 'range' ] = {};
stylings[ name ][ 'range' ][ parseFloat($(this).attr('range_min')) ] =
[ parseFloat( $(this).attr('range_max') ), $(this).text() ];
+
}
});
+ stylings[ name ]['classnames'] = classnames;
});
// then the status bar
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|