Projekt

Obecné

Profil

« Předchozí | Další » 

Revize b395d1b4

Přidáno uživatelem Tomáš Šimandl před více než 6 roky(ů)

Removed archetype prefix from title and rename to name

Zobrazit rozdíly:

sources/src/main/webapp/js/components/vertex.js
9 9
	/** @prop {integer} archetype Identifier of the vertex archetype. */
10 10
	this.archetype = props.archetype;
11 11
	/** @prop {string} name Name of the vertex. */
12
	this.name = props.title.split(':')[1];	// TODO: archetype prefix is useless
12
	this.name = props.name;
13 13
	/** @prop {array} symbol Symbol of the group. */
14 14
	this.symbol = app.markSymbol.getMarkSymbol();
15 15

  
......
473 473
			id: this.id,
474 474
			originalId: this.id,
475 475
			text: '',
476
			title: 'XXX:' + this.name,	// TODO: archetype prefix is useless
476
			name: this.name,
477 477
		};
478 478
	};
479 479

  

Také k dispozici: Unified diff