add: this.clear(); 
context:   onAllPermissionsDeleted: function ()  {    if (!this._view.rowCount)      return;    var removedPermissions = [];    gTreeUtils.deleteAll(this._tree, this._view, this._permissions, removedPermissions);    for (var i = 0; i < removedPermissions.length; ++i) {      var p = removedPermissions[i];      this._pm.remove(p.host, p.type);    }    document.getElementById("removePermission").disabled = true;    document.getElementById("removeAllPermissions").disabled = true;  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/2e6600a8a03d8af828379d00f612b80d5b92cedb/xforms-permissions.js/clean/extensions/xforms/resources/content/xforms-permissions.js