Combined the folllowing RFE packages into a single Survey folder
package: rfe-9202 * Default Answer Edit * Default Survey Edit * Default Answer Edit rfe-9199 * Default Questions rfe-9198 * Default Answer Edit * Default Question Edit * Default Section Edit Also cleaned up invalid html mark-up in Section/Question/Answer edit templates
This commit is contained in:
parent
c402227d16
commit
47d16d3baa
7 changed files with 8 additions and 9 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
root_import_survey.wgpkg
Normal file
BIN
root_import_survey.wgpkg
Normal file
Binary file not shown.
|
|
@ -24,7 +24,7 @@ Survey.ObjectTemplate = new function(){
|
|||
|
||||
var form = new YAHOO.widget.Dialog(type,
|
||||
{
|
||||
width : "500px",
|
||||
width : "600px",
|
||||
context: [document.body, 'tr', 'tr'],
|
||||
visible : false,
|
||||
constraintoviewport : true,
|
||||
|
|
@ -36,22 +36,21 @@ Survey.ObjectTemplate = new function(){
|
|||
|
||||
var textareaId = type+'Text';
|
||||
var textarea = YAHOO.util.Dom.get(textareaId);
|
||||
|
||||
var height = YAHOO.util.Dom.getStyle(textarea,'height');
|
||||
if (height == ''){
|
||||
height = '300px';
|
||||
}
|
||||
var width = YAHOO.util.Dom.getStyle(textarea,'width');
|
||||
if (width == ''){
|
||||
width = '500px';
|
||||
height = '300px';
|
||||
}
|
||||
myTextarea = new YAHOO.widget.SimpleEditor(textareaId, {
|
||||
height: height,
|
||||
width: width,
|
||||
width: '100%',
|
||||
dompath: false //Turns on the bar at the bottom
|
||||
});
|
||||
myTextarea.get('toolbar').titlebar = false;
|
||||
myTextarea.render();
|
||||
|
||||
if (myTextarea.get('toolbar')) {
|
||||
myTextarea.get('toolbar').titlebar = false;
|
||||
}
|
||||
myTextarea.render();
|
||||
|
||||
form.show();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue