X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=public%2Fjs%2Fsyj.js;h=39ecd4f90bdf86b8321054ead2e08f823a28612d;hb=6cc4b3cd4538430770c935bd3192f1f72d75d96b;hp=58e542a559d15d19003cd9c558e31cbcef5e532a;hpb=e3108d04cc1515d8e0482f8f238ac1d5dd59f633;p=syj.git diff --git a/public/js/syj.js b/public/js/syj.js index 58e542a..39ecd4f 100644 --- a/public/js/syj.js +++ b/public/js/syj.js @@ -261,7 +261,6 @@ var SYJView = { this.messenger.hide(); this.editMode(); this.mode = 'create'; - SyjSaveUI.enableSubmit(); }.bind(this)); } @@ -639,18 +638,7 @@ var SYJUserClass = Class.create(SYJModalClass, { } }.bindAsEventListener(this)); - $("account-info").hide(); - $("account-info-bullet").observe('click', function(evt) { - var elt = $("account-info"); - if (elt.visible()) { - evt.target.src = "icons/bullet_arrow_right.png"; - elt.hide(); - } else { - evt.target.src = "icons/bullet_arrow_down.png"; - elt.show(); - } - evt.stop(); - }); + $('account-create-anchor').insert({after: new Toggler('account-info').element}); }, presubmit: function() {