Skip to content

Commit

Permalink
. msgmatch.js: fixed a minor bug.
Browse files Browse the repository at this point in the history
. rpcfg.py: fixed a bug 'Config WebServer' button does not work if the 'WS
installer' checkbox is not checked.
  • Loading branch information
zhiming99 committed Jan 18, 2024
1 parent 8cfbead commit a63cd29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions js/combase/msgmatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ exports.CMessageMatch = class CMessageMatch extends CObjBase
IsEqual( rhs )
{
if( this.m_strIfName !== rhs.m_strIfName ||
this.m_strObjPath != rhs.m_strObjPath )
this.m_strObjPath !== rhs.m_strObjPath )
return false
if( this.GetType() != rhs.GetType() )
if( this.GetType() !== rhs.GetType() )
return false

return true
Expand Down
2 changes: 1 addition & 1 deletion tools/rpcfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -2299,7 +2299,7 @@ def on_update_ws_settings( self, button ):
miscOpts = cfgVal[ 'Security' ][ 'misc' ]
miscOpts[ 'ConfigWebServer' ] = 'true'

ret = ConfigWebServer( initFile )
ret = ConfigWebServer2( cfgVal )
if ret < 0:
print( "Error failed to config web server " + str(ret))
ret = 0
Expand Down

0 comments on commit a63cd29

Please sign in to comment.