Permalink
Browse files

refine the code for PIP-298

  • Loading branch information...
1 parent 61bc43a commit f363d01523f698f5f6c68778e0d32ff2eb9be3fd Marshal.li committed Apr 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 designer/src/main/webapp/js/Plugins/uuidRepository.js
View
2 designer/src/main/webapp/js/Plugins/uuidRepository.js
@@ -135,7 +135,7 @@ WAPAMA.Plugins.UUIDRepositorySave = WAPAMA.Plugins.AbstractPlugin.extend({
var svgDOM = DataManager.serialize(this.facade.getCanvas().getSVGRepresentation(true));
// get the json and add properties label into
var json=this.facade.getJSON();
- if(json.childShapes.length>0 && json.stencil && json.stencil.id == "PipeDiagram"){
+ if(json.childShapes.length>0 && json.stencil ){
var namespace=json.stencilset.namespace;
var stencils=this.facade.getStencilSets()[namespace]._stencils;
//json.stencil.name=stencils[json.stencilset.namespace+json.stencil.id]._jsonStencil.title

0 comments on commit f363d01

Please sign in to comment.