Author: tridge
Date: 2006-09-15 20:55:43 +0000 (Fri, 15 Sep 2006)
New Revision: 18567

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18567

Log:

fixed the winreg js code for the new names of the fields in winreg.idl

When changing a field name in idl, please remember to check for use of
those functions in any js code as well.

Modified:
   branches/SAMBA_4_0/source/scripting/libjs/winreg.js


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/libjs/winreg.js
===================================================================
--- branches/SAMBA_4_0/source/scripting/libjs/winreg.js 2006-09-15 20:36:38 UTC 
(rev 18566)
+++ branches/SAMBA_4_0/source/scripting/libjs/winreg.js 2006-09-15 20:55:43 UTC 
(rev 18567)
@@ -80,7 +80,7 @@
        }
 
        io = irpcObj();
-       io.input.handle  = handle;
+       io.input.parent_handle  = handle;
        io.input.keyname = hpath;
        io.input.unknown = 0;
        io.input.access_mask = this.SEC_FLAG_MAXIMUM_ALLOWED;
@@ -122,10 +122,10 @@
        io.input.name.length = 0;
        io.input.name.size   = 32;
        io.input.name.name   = NULL;
-       io.input.class = new Object();
-       io.input.class.length = 0;
-       io.input.class.size   = 1024;
-       io.input.class.name   = NULL;
+       io.input.keyclass = new Object();
+       io.input.keyclass.length = 0;
+       io.input.keyclass.size   = 1024;
+       io.input.keyclass.name   = NULL;
        io.input.last_changed_time = 0;
 
        var idx = 0;
@@ -239,7 +239,7 @@
        var io = irpcObj();
        io.input.handle = handle;
        io.input.name = key;
-       io.input.class = NULL;
+       io.input.keyclass = NULL;
        io.input.options = 0;
        io.input.access_mask = this.SEC_FLAG_MAXIMUM_ALLOWED;
        io.input.secdesc = NULL;

Reply via email to