| author | Sidharth Singh | 2012-08-14 05:56:44 (EDT) |
|---|---|---|
| committer | Manik Kishore | 2012-08-14 05:56:44 (EDT) |
| commit | 4c202b92da2175ce289ad5da7d75211d9cf078e9 (patch) (side-by-side diff) | |
| tree | d86ce76823a07e6782932783c27b0dd8cd3df770 | |
| parent | a687cb4c6a87f70651fa026a22529af6e0c3a6f0 (diff) | |
| download | org.eclipse.stardust.ui.web-4c202b92da2175ce289ad5da7d75211d9cf078e9.zip org.eclipse.stardust.ui.web-4c202b92da2175ce289ad5da7d75211d9cf078e9.tar.gz org.eclipse.stardust.ui.web-4c202b92da2175ce289ad5da7d75211d9cf078e9.tar.bz2 | |
Jira-ID: CRNT-25692
1)Made change in m_symbol.js in getCommandIdForNode() to process dataSymbol.delete
2)Made change in m_connection.js remove() for deleting connection
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@58396 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
| -rw-r--r-- | web-modeler/src/main/resources/META-INF/xhtml/js/m_connection.js | 3 | ||||
| -rw-r--r-- | web-modeler/src/main/resources/META-INF/xhtml/js/m_symbol.js | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_connection.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_connection.js index 1bc6fc9..08a5c97 100644 --- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_connection.js +++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_connection.js @@ -1189,9 +1189,8 @@ define( this.toAnchorPoint.symbol.connections, this);
m_utils.removeItemFromArray(
this.fromAnchorPoint.symbol.connections, this);
-
var command = m_command.createRemoveNodeCommand("connection.delete", this.diagram.model.id,
- this.oid, this.createTransferObject());
+ this.diagram.process.oid, this.createTransferObject());
m_commandsController.submitCommand(command);
};
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_symbol.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_symbol.js index 31ffd9c..40eddd9 100644 --- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_symbol.js +++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_symbol.js @@ -242,10 +242,8 @@ define( commandType = "gateSymbol." + str;
} else if (this.type == m_constants.EVENT_SYMBOL) {
commandType = "eventSymbol." + str;
- } // For data symbol only Create is implemented with
- // change protocol
- else if (this.type == m_constants.DATA_SYMBOL
- && str.match("create")) {
+ }
+ else if (this.type == m_constants.DATA_SYMBOL) {
commandType = "dataSymbol." + str;
} else if (m_constants.SWIMLANE_SYMBOL.match(this.type)) {
commandType = "swimlaneSymbol." + str;
|

