0
0
Fork 0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2025-02-05 14:39:45 +00:00
salesagility_SuiteCRM/include/SuiteEditor/tpls/SuiteEditorConnector.tpl
2017-04-28 16:12:54 +01:00

32 lines
No EOL
840 B
Smarty

{literal}
<script>
if(!SuiteEditor) {
/**
* Suite Editor interface
*/
var SuiteEditor = {
interfaceError: function() {
throw 'function is not implemented';
}
};
/**
* connector function for get value from suite editors
*/
SuiteEditor.getValue = function() { SuiteEditor.interfaceError(); };
/**
* connector function for set value in suite editors
*/
SuiteEditor.apply = function(html) { SuiteEditor.interfaceError(); };
/**
* connector function for insert a text value
* at the current cursor position into suite editors
*/
SuiteEditor.insert = function(text, elemId) { SuiteEditor.interfaceError(); };
}
</script>
{/literal}
{$editor}