1
0
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:
Shuai Lin
2016-05-07 11:45:47 +08:00
committed by lian
parent 7514c587d5
commit 7dc7034de4
10 changed files with 93 additions and 13 deletions

View File

@@ -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'}),