diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-20 07:04:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:29:48 -0500 |
commit | 620301858a5b747002eebe2b9fcef10712ee8249 (patch) | |
tree | 6736859b378854e534aea94cdb14bf922fb2f293 /swat | |
parent | 3d59490a4010c00a35113d36c60737001e5c77bb (diff) | |
download | samba-620301858a5b747002eebe2b9fcef10712ee8249.tar.gz samba-620301858a5b747002eebe2b9fcef10712ee8249.tar.bz2 samba-620301858a5b747002eebe2b9fcef10712ee8249.zip |
r8638: continue the trend of maknig our C functions true ejs objects by making the string functions
into an object. To keep existing code working I have added:
string_init(global);
into base.js. That brings the functions into the global scope for our
existing scripts
(This used to be commit a978484738168b82441c4dc4f5f803d349769a4b)
Diffstat (limited to 'swat')
-rw-r--r-- | swat/scripting/common.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/swat/scripting/common.js b/swat/scripting/common.js index baebe8af82..f868040f03 100644 --- a/swat/scripting/common.js +++ b/swat/scripting/common.js @@ -8,6 +8,8 @@ global.page = new Object(); /* fill in some defaults */ global.page.title = "Samba Web Administration Tool"; +libinclude("base.js"); + /* to cope with browsers that don't support cookies we append the sessionid to the URI */ global.SESSIONURI = ""; |