Commit c934e574 authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Tomáš Peterka

slapos_web: Make jslint a bit happier (fix syntax only)

parent 2a5743e2
...@@ -41,7 +41,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ...@@ -41,7 +41,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
}, },
error: function () { error: function () {
notificationsettimeout($(this)); notificationsettimeout($(this));
}, }
}); });
}; };
...@@ -61,7 +61,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ...@@ -61,7 +61,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
"text-shadow": "1px 1px 0 #000", "text-shadow": "1px 1px 0 #000",
"background-color": "#59bae2", "background-color": "#59bae2",
"padding": "2px 11px 8px 11px", "padding": "2px 11px 8px 11px",
"border-radius": "15px", "border-radius": "15px"
}) })
.show() .show()
.html(acknowledgement_json.text_content) .html(acknowledgement_json.text_content)
...@@ -90,7 +90,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ...@@ -90,7 +90,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
async: true, async: true,
complete: function () { complete: function () {
notificationload($(this)); notificationload($(this));
}, }
}); });
}; };
......
...@@ -16,7 +16,6 @@ along with this program; if not, write to the Free Software ...@@ -16,7 +16,6 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ */
"use strict"; "use strict";
(function ($) { (function ($) {
$.vifiballocable = function(options) { $.vifiballocable = function(options) {
...@@ -28,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ...@@ -28,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
slave: options.slave, slave: options.slave,
software_release: options.software_release, software_release: options.software_release,
software_type: options.software_type, software_type: options.software_type,
sla: JSON.stringify(options.sla)}, sla: JSON.stringify(options.sla)}
}, options)); }, options));
}; };
......
...@@ -16,7 +16,6 @@ along with this program; if not, write to the Free Software ...@@ -16,7 +16,6 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ */
"use strict"; "use strict";
(function (window, $) { (function (window, $) {
var methods, var methods,
...@@ -60,7 +59,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ...@@ -60,7 +59,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
} }
return output; return output;
}, }
}; };
...@@ -113,8 +112,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ...@@ -113,8 +112,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
update_status(context); update_status(context);
}, 60000); }, 60000);
} }
}
},
}); });
}; };
...@@ -138,8 +136,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ...@@ -138,8 +136,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
status_id = encodeURIComponent(Base61.encode(status_url)), status_id = encodeURIComponent(Base61.encode(status_url)),
status_context = $(this).find('#' + status_id); status_context = $(this).find('#' + status_id);
if (!status_context[0]) { if (!status_context[0]) {
status_context = $(this).append('<li><a class="check_monitoring" id="' status_context = $(this).append('<li><a class="check_monitoring" id="' + status_id + '" data-url="' + encodeURIComponent(status_url) + '"></a></li>')
+ status_id + '" data-url="' + encodeURIComponent(status_url) + '"></a></li>')
.find('#' + status_id); .find('#' + status_id);
(function(new_context) { (function(new_context) {
setTimeout(function () { setTimeout(function () {
...@@ -154,7 +151,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ...@@ -154,7 +151,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
setTimeout(function () { setTimeout(function () {
search_document_list(context, context.attr('data-list-url')); search_document_list(context, context.attr('data-list-url'));
}, 60000); }, 60000);
}, }
}); });
}; };
...@@ -177,7 +174,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ...@@ -177,7 +174,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
update_status(context); update_status(context);
}); });
return context; return context;
}, }
}; };
$.fn.vifibmonitoring = function (method) { $.fn.vifibmonitoring = function (method) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment