Changeset 4662
- Timestamp:
- May 10, 2017, 12:49:23 PM (4 years ago)
- Location:
- open-sysclone/trunk/fuentes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
open-sysclone/trunk/fuentes/debian/changelog
r4383 r4662 1 open-sysclone (0.54.3) xenial; urgency=high 2 3 * Fix bug in GUI response from cli in Multicast mode 4 5 -- Daniel Duran Vecino <daduve@gmail.com> Wed, 10 May 2017 12:48:04 +0200 6 1 7 open-sysclone (0.54.2) xenial; urgency=medium 2 8 -
open-sysclone/trunk/fuentes/open-sysclone-gui.install/usr/share/open-sysclone-gui/js/restore_image_multicast.js
r2381 r4662 169 169 if (result){ 170 170 171 self.send_multicast_file(pathfile,name,clientsw,timer); 171 var protocol = $(document.createElement('span')).html(response[0][2][0]); 172 var path_writed = $(document.createElement('span')).html(response[0][2][1]); 173 self.send_multicast_file(pathfile,name,clientsw,timer,protocol,path_writed); 172 174 } 173 175 else{ … … 185 187 /*This function call n4d in server for send_multicast_file method*/ 186 188 187 this.send_multicast_file = function (pathfiler,namer,clients,time ){189 this.send_multicast_file = function (pathfiler,namer,clients,time,protocols,path_writeds){ 188 190 189 191 console.log("Valores de las variables dentro de la funcion ",pathfiler,namer,clients,time); … … 209 211 //Especificamos el tamaño de la imagen 210 212 img.attr('style',"width: 15px; height: 15px; margin: 5px;"); 213 211 214 //añado a la variable text la respuesta de N4D 212 var protocol = $(document.createElement('span')).html(response[0][2][0]);213 var path_writed = $(document.createElement('span')).html(response[0][2][1]);214 215 216 var title = "MULTICAST: " 215 217 var response1 = $(document.createElement("span")).html(i18n.gettext("write_menu_pxe.response1")); 216 218 var response2 = $(document.createElement("span")).html(i18n.gettext("write_menu_pxe.response2")); 217 219 //Uno la imagen y el texto dentro del identificador de la web result 218 220 $('#result').append(img); 221 $('#result').append(title); 219 222 $('#result').append(response1); 220 $('#result').append(protocol );223 $('#result').append(protocols); 221 224 $('#result').append(response2); 222 $('#result').append(path_writed )225 $('#result').append(path_writeds) 223 226 }, 224 227 error: function(jqXHR, status, error) {
Note: See TracChangeset
for help on using the changeset viewer.