diff --git a/app.js b/app.js
index 444990f..efb7c5b 100644
--- a/app.js
+++ b/app.js
@@ -19,7 +19,7 @@ define(function(require) {
var storagesList = storagesConfig.storages;
var storagesPaths = [];
for (var i = 0, len = storagesList.length; i < len; i++) {
- storagesPaths.push('./submodules/' + storagesList[i] + '/' + storagesList[i])
+ storagesPaths.push('./submodules/' + storagesList[i] + '/' + storagesList[i]);
}
require(storagesPaths);
@@ -93,7 +93,7 @@ define(function(require) {
$.getJSON('/apps/storage/submodules/' + args.submoduleName + '/i18n/' + curLanguage + '.json').done(function (newDict) {
var dict = self.data.i18n[curLanguage];
$.extend(true, dict, newDict);
- })
+ });
}
}
} else {
@@ -152,7 +152,8 @@ define(function(require) {
accountId : self.accountId,
data : {
'attachments': {},
- 'plan': {}
+ 'plan': {},
+ 'connections': {}
},
removeMetadataAPI: true,
generateError: settings.debug
@@ -256,6 +257,7 @@ define(function(require) {
storageManagerFormatData: function(data) {
var activeStorageId = null;
try {
+ //activeStorageId = data.plan.modb.connection; //.handler;
activeStorageId = data.plan.modb.types.call_recording.attachments.handler;
} catch(e) {
log('Active storage not found');
@@ -315,7 +317,7 @@ define(function(require) {
$container.slideDown();
self.storageManagerSettingsBind($container);
- })
+ });
});
template.on('click', '.js-remove-storage', function(e) {
@@ -379,7 +381,7 @@ define(function(require) {
tabId: keyword + '-new-item-content',
tabLink: '#' + keyword + '-new-item-content',
formElements: self.storages[keyword].getFormElements({})
- })
+ });
}
var template = $(self.getTemplate({
diff --git a/submodules/s3/i18n/en-US.json b/submodules/s3/i18n/en-US.json
index 4f10457..68e2c9f 100644
--- a/submodules/s3/i18n/en-US.json
+++ b/submodules/s3/i18n/en-US.json
@@ -3,6 +3,7 @@
"submodules": {
"s3": {
"nameLabel": "Name",
+ "endpointLabel": "Endpoint",
"bucketLabel": "Bucket",
"keyLabel": "Key",
"secretLabel": "Secret"
diff --git a/submodules/s3/views/formElements.html b/submodules/s3/views/formElements.html
index e9d71e8..b7fd9a3 100644
--- a/submodules/s3/views/formElements.html
+++ b/submodules/s3/views/formElements.html
@@ -5,6 +5,12 @@
+