Changeset 7046 for sandbox/newExpressoMail/expressoMail1_2/js/main.js
- Timestamp:
- 08/17/12 11:30:46 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/newExpressoMail/expressoMail1_2/js/main.js
r7043 r7046 100 100 101 101 $( "#ptabs").find( ".ui-tabs-nav" ).sortable({ 102 axis: "x",103 102 items: "li:not(.ui-tab-disabled)", 103 helper : function(a, b){ 104 console.log(a); 105 console.log(b); 106 var oi = $(b).clone(); 107 oi.addClass("ui-corner-all").css("width", "auto").find("span.ui-icon-close").hide().end().find("a").html("Mover "+oi.find("a").html()); 108 return oi; 109 } 104 110 }).disableSelection(); 105 111 … … 565 571 var content = $(DataLayer.render("../prototype/modules/mail/templates/email.ejs", {info : msg_info})); 566 572 567 createTab(sbj, content.html(), id_msg_read); 568 569 content.find(".message-flags").buttonset(); 573 createTab(sbj, content.html(), id_msg_read, function(content){ 574 content.find(".message-flags").buttonset(); 575 content.find(".message-tags").button({ 576 icons: { 577 primary: "ui-icon-tag", 578 secondary: "ui-icon-triangle-1-s" 579 }, 580 text: false 581 }).next().button({ 582 icons: { 583 secondary: "ui-icon-triangle-1-s" 584 }, 585 text: true 586 }).next().button({ 587 icons: { 588 primary: "ui-icon-trash" 589 }, 590 text: false 591 }).next().button({ 592 icons: { 593 primary: "ui-icon-gear", 594 secondary: "ui-icon-triangle-1-s" 595 }, 596 text: false 597 }); 598 }); 599 570 600 //$(".message-flags").buttonset(); 571 601 //$(".button").button();
Note: See TracChangeset
for help on using the changeset viewer.