Skip to content

Commit

Permalink
Merge pull request #183 from ChristianMayer/develop
Browse files Browse the repository at this point in the history
Fix wgplugin_info
  • Loading branch information
peuter committed May 15, 2015
2 parents 4b4b8c1 + 7757982 commit bdacbfb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/cometvisu.appcache
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CACHE MANIFEST
# Version SVN:20150507-0903
# Version SVN:20150514-1808

CACHE:
index.html
Expand Down
9 changes: 2 additions & 7 deletions src/structure/pure/wgplugin_info.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ design.basicdesign.addCreator('wgplugin_info', {
return ret_val + '</div>';

},
update: function( e, d, passedElement )
update: function( ga, d, passedElement )
{
var
element = passedElement || $(this),
Expand All @@ -46,12 +46,7 @@ design.basicdesign.addCreator('wgplugin_info', {
valueElement = element.find('.value');

$.getJSON('/wg-plugindb.pl?name=' + variable, function(data) {
templateEngine.setWidgetStyling( element, widgetData.basicvalue, widgetData.styling );

if( widgetData[ 'align' ] )
element.addClass(widgetData[ 'align' ] );
valueElement.empty();
valueElement.append( widgetData[variable] );
basicdesign.defaultUpdate( undefined, data[variable], element, true, element.parent().attr('id') );
});
},
update3d: design.basicdesign.defaultUpdate3d
Expand Down

0 comments on commit bdacbfb

Please sign in to comment.