mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-14 14:21:23 +00:00
Added remote wipe option when unlinking a device.
This commit is contained in:
@@ -11,6 +11,9 @@ define([
|
||||
'platform': this.get('platform'),
|
||||
'device_id': this.get('device_id')
|
||||
};
|
||||
if (options.wipe_device) {
|
||||
data['wipe_device'] = 'true';
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: Common.getUrl({name: 'devices'}),
|
||||
|
Reference in New Issue
Block a user