WYSIWYG EDITOR Variable picker.js

WYSIWYG EDITOR Variable picker.js
This commit is contained in:
norahmollo
2012-11-26 16:08:09 +00:00
parent adb1ae1c34
commit 52461ddc8c
3 changed files with 19 additions and 16 deletions

View File

@@ -44,7 +44,11 @@ leimnud.event.add(document.getElementById('search'), 'keypress', function(e) {
}
});
leimnud.event.add(document.getElementById('type_variables'), 'change', function(event) {
console.log('Dropdown Type of Variables');
});
var generateListValues = function(){
var combo = document.getElementById("_Var_Form_");
var option = document.createElement('option');
combo.options.add(option, 0);
combo.options[0].value = "valor";
combo.options[0].text = "Textojjjjj";
}