You can now copy sections and questions. And if I correctly understand how to bundle asset packages, all the new template changes are included.
This commit is contained in:
parent
5b8a1df90e
commit
5afae6de85
4 changed files with 50 additions and 3 deletions
|
|
@ -8,8 +8,11 @@ Survey.ObjectTemplate = new function(){
|
|||
|
||||
document.getElementById('edit').innerHTML = html;
|
||||
|
||||
var butts = [ { text:"Submit", handler:function(){this.submit();}, isDefault:true }, { text:"Cancel", handler:function(){this.cancel();}},
|
||||
{text:"Delete", handler:function(){document.getElementById('delete').value = 1; this.submit();}}
|
||||
var butts = [
|
||||
{ text:"Submit", handler:function(){this.submit();}, isDefault:true },
|
||||
{ text:"Copy", handler:function(){document.getElementById('copy').value = 1; this.submit();}},
|
||||
{ text:"Cancel", handler:function(){this.cancel();}},
|
||||
{ text:"Delete", handler:function(){document.getElementById('delete').value = 1; this.submit();}}
|
||||
];
|
||||
|
||||
var form = new YAHOO.widget.Dialog(type,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue