Skip to content
This repository has been archived by the owner on Mar 14, 2020. It is now read-only.

Commit

Permalink
[Live View] Fix RIB-25: Update recently used list when deleting a device
Browse files Browse the repository at this point in the history
  • Loading branch information
zhizhangchen authored and grgustaf committed Aug 31, 2012
1 parent b2be22e commit 22eb18a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/views/live.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
buttonSet.append($('<input type="button" class="buttonStyle" value="Delete"></input>').click(function () {
var type = widget._projectDevice.type;
delete widget._userDevices[widget._projectDevice.name];
widget._findOptionByText(widget._recentDevices, widget._projectDevice.name).remove();
applyDeviceChange(deviceForm, type);
}));
deviceForm
Expand Down

0 comments on commit 22eb18a

Please sign in to comment.