Feature #3748: Fix xml entity in string, add param docs

This commit is contained in:
Carlos Martín committed 2015-05-14 12:25:05 +02:00
1 parent 5c676b916b
commit df8393586d
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ define(function(require) {
var month = _pad(d.getMonth() + 1, 2); //getMonths returns 0-11
var year = d.getFullYear();
return hour + ":" + mins + ":" + secs + " " + day + "/" + month + "/" + year;
return hour + ":" + mins + ":" + secs + " " + day + "/" + month + "/" + year;
}
return {
@@ -37,9 +37,13 @@ define(function(require) {
/*
Initialize the table, clicking the edit icon will add an input to edit the value
@param {Object} templateJSON Resource template (i.e: ZONE.TEMPLATE, IMAGE.TEMPLATE...)
@param {String} resourceType Resource type (i.e: Zone, Host, Image...)
@param {String} resourceId ID of the resource
@param {jQuery Object} context Selector including the tr
@param {Object} unshownValues Values from the origianl resource template that
have been deleted from the templateJSON param. Whithout this, a template
update would permanently delete the missing values from OpenNebula
*/
var _setup = function(templateJSON, resourceType, resourceId, context, unshownValues) {
// Remove previous listeners