Skip to content

Commit af500ce

Browse files
committed
replaced inline api constants with the right variables
1 parent aba8c75 commit af500ce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

WebSocket.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ Ext.define('Ext.ux.data.proxy.WebSocket', {
355355
return false;
356356
}
357357

358-
if (action === 'update') {
358+
if (action === me.getApi().update) {
359359
for (var i = 0; i < resultSet.records.length; i++) {
360360
var record = store.getById(resultSet.records[i].internalId);
361361

@@ -366,7 +366,7 @@ Ext.define('Ext.ux.data.proxy.WebSocket', {
366366

367367
store.commitChanges();
368368
}
369-
else if (action === 'destroy') {
369+
else if (action === me.getApi().destroy) {
370370
store.remove(resultSet.records);
371371
}
372372
else {

0 commit comments

Comments
 (0)