Skip to content
Snippets Groups Projects

Fix data element edit window can not be closed error + typo fixes

Merged Adrien Kirják requested to merge kadrien/titan.Libraries.Web_GUI:master into master
6 files
+ 30
30
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -9,11 +9,11 @@ function CViewModel_AutoGUI(aViewModel, aOptions)
@@ -9,11 +9,11 @@ function CViewModel_AutoGUI(aViewModel, aOptions)
/** private members */
/** private members */
var mViewModel;
var mViewModel;
var mBinder;
var mBinder;
var mReponseDataPaths;
var mResponseDataPaths;
/** constructor */
/** constructor */
mViewModel = aViewModel;
mViewModel = aViewModel;
mReponseDataPaths = [];
mResponseDataPaths = [];
/** public functions - Interface for parent */
/** public functions - Interface for parent */
this.setSelectionToControl = function(aSelection)
this.setSelectionToControl = function(aSelection)
@@ -21,7 +21,7 @@ function CViewModel_AutoGUI(aViewModel, aOptions)
@@ -21,7 +21,7 @@ function CViewModel_AutoGUI(aViewModel, aOptions)
this.setReponseDataPath = function(aExpectedReponseDataIndex, aReponseDataPath)
this.setReponseDataPath = function(aExpectedReponseDataIndex, aReponseDataPath)
{
{
mReponseDataPaths[aExpectedReponseDataIndex] = aReponseDataPath;
mResponseDataPaths[aExpectedReponseDataIndex] = aReponseDataPath;
};
};
this.setBinder = function(aBinder)
this.setBinder = function(aBinder)
@@ -32,7 +32,7 @@ function CViewModel_AutoGUI(aViewModel, aOptions)
@@ -32,7 +32,7 @@ function CViewModel_AutoGUI(aViewModel, aOptions)
/** public functions - Interface for views */
/** public functions - Interface for views */
this.getResponseElement = function()
this.getResponseElement = function()
{
{
return mViewModel.getResponseElement(mReponseDataPaths[0]);
return mViewModel.getResponseElement(mResponseDataPaths[0]);
};
};
this.command = function(aCklickedExpandedGetData, aOrigGetData, aValue, aIsContainer, aIsText)
this.command = function(aCklickedExpandedGetData, aOrigGetData, aValue, aIsContainer, aIsText)
Loading