Changeset 3683


Ignore:
Timestamp:
Feb 21, 2017, 10:40:00 AM (2 years ago)
Author:
mabarracus
Message:

Fix error msg when isn't unattended

File:
1 edited

Legend:

Unmodified
Added
Removed
  • llx-netinstall/trunk/fuentes/admin-center-llx-netinstall.install/lliurex-netinstall/src/js/lliurex-netinstall.js

    r3632 r3683  
    160160      var  password=($("#llx_netinstall_setnetinstall_pass").val());
    161161      var  rootpassword=($("#llx_netinstall_setnetinstall_pass_root").val());
    162       if (! username || !password || !rootpassword){
    163         msg=self._("llx_netinstall_no_user");
    164         Utils.msg(msg, MSG_ERROR);
     162      if (self.unattended_netinstall){
     163        if (! username || !password || !rootpassword){
     164            msg=self._("llx_netinstall_no_user");
     165            Utils.msg(msg, MSG_ERROR);
     166        }
    165167      }
    166168
Note: See TracChangeset for help on using the changeset viewer.