Changeset 7064 for sandbox/newExpressoMail
- Timestamp:
- 08/17/12 16:48:33 (11 years ago)
- Location:
- sandbox/newExpressoMail/expressoMail1_2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/newExpressoMail/expressoMail1_2/index.php
r7046 r7064 48 48 <script src="../library/ckeditor/adapters/jquery.js" language="javascript"></script> 49 49 <script src="../prototype/plugins/lazy/jquery.lazy.js" language="javascript"></script> 50 50 <link rel="stylesheet" type="text/css" href="../prototype/plugins/fgmenu/fg.menu.css" media="screen"> 51 51 <link rel="Stylesheet" type="text/css" href="../prototype/plugins/jquery/jquery-ui.css" /> 52 52 … … 70 70 <script type="text/javascript" src="../prototype/plugins/scrollable-tabs/jquery.scrollabletab.js"></script> 71 71 <script type="text/javascript" src="../prototype/plugins/qtip/jquery.qtip-1.0.0-rc3.min.js"></script> 72 <script type="text/javascript" src="../prototype/plugins/fgmenu/fg.menu.js"></script> 72 73 <script type="text/javascript" src="../prototype/plugins/contextmenu/jquery.contextMenu.js"></script> 73 74 <!-- <script type="text/javascript" src="../prototype/plugins/contextmenu/jquery.ui.position.js"></script> --> -
sandbox/newExpressoMail/expressoMail1_2/js/abas.js
r7046 r7064 11 11 12 12 var ptabs = $("#ptabs").tabs({ 13 tabTemplate: "<li role='tab' ><a href='#{href}'>#{label}</a> <span class='ui-icon ui-icon-close' title='Fechar Aba'>Fechar Aba</span></li>",13 tabTemplate: "<li role='tab' style='cursor: pointer;'><a href='#{href}'>#{label}</a> <span class='ui-icon ui-icon-close' title='Fechar Aba'>Fechar Aba</span></li>", 14 14 add: function( event, ui ) { 15 15 countID++; … … 25 25 }, 26 26 select: function(event, ui) { 27 console.log(ui.index);28 27 lastIndexSelected = ui.index; 29 28 } 30 }); 29 }); 31 30 32 31 //$(ptabs).find(".ui-tabs-nav").wrap("<div class='scroll-tabs'></div>"); … … 58 57 } 59 58 60 61 59 /* 62 60 method : removeTab … … 83 81 } 84 82 85 86 83 /* 87 84 method : indexTab -
sandbox/newExpressoMail/expressoMail1_2/js/draw_api.js
r7043 r7064 924 924 function syncColumns() { 925 925 var thisCell; 926 var tbl = (document.getElementById(" content_id_"+numBox)==null ? 1 : 0);926 var tbl = (document.getElementById("ui-tabs-"+numBox)==null ? 1 : 0); 927 927 if (objCell) 928 928 thisCell = objCell; -
sandbox/newExpressoMail/expressoMail1_2/js/main.js
r7046 r7064 101 101 $( "#ptabs").find( ".ui-tabs-nav" ).sortable({ 102 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 }103 helper : function(e, drag){ 104 var helper = $(drag).clone(); 105 helper.addClass("ui-corner-all").css("width", "auto").find("span.ui-icon-close").hide().end().find("a").html("Mover "+helper.find("a").html()); 106 return helper; 107 }, 108 placeholder: 'ui-state-highlight', 109 forcePlaceholderSize: true 110 110 }).disableSelection(); 111 111 … … 569 569 else { 570 570 var sbj = msg_info.subject.length < 21 ? msg_info.subject : msg_info.subject.substr(0,21) + "..."; 571 var content = $(DataLayer.render("../prototype/modules/mail/templates/email.ejs", {info : msg_info }));571 var content = $(DataLayer.render("../prototype/modules/mail/templates/email.ejs", {info : msg_info, ID : id_msg_read})); 572 572 573 573 createTab(sbj, content.html(), id_msg_read, function(content){ 574 content.find(".message-flags").find(".message-important-flag").button({ 575 icons: { 576 primary: "ui-icon-notice" 577 }, 578 text: false 579 }).end().find(".message-unread-flag").button({ 580 icons: { 581 primary: "ui-icon-mail-closed" 582 }, 583 text: false 584 }).end().find(".message-spam-flag").button({ 585 icons: { 586 primary: "ui-icon-alert" 587 }, 588 text: false 589 }).end().find(".message-followup-flag").button({ 590 icons: { 591 primary: "ui-icon-flag" 592 }, 593 text: false 594 }); 574 595 content.find(".message-flags").buttonset(); 596 597 content.find(".messages-controll").find(".message-prev").button({ 598 icons: { 599 primary: "ui-icon-carat-1-w" 600 }, 601 text: false 602 }).next().button({ 603 icons: { 604 primary: "ui-icon-carat-1-e" 605 }, 606 text: false 607 }); 608 content.find(".messages-controll").buttonset(); 575 609 content.find(".message-tags").button({ 576 610 icons: { … … 589 623 }, 590 624 text: false 591 }).next().button({ 625 }); 626 content.find(".messages-preferences").button({ 592 627 icons: { 593 628 primary: "ui-icon-gear", … … 595 630 }, 596 631 text: false 597 }) ;632 }).css("width", "45px"); 598 633 }); 599 634
Note: See TracChangeset
for help on using the changeset viewer.