Ignore:
Timestamp:
02/19/13 16:08:41 (11 years ago)
Author:
gustavo
Message:

Ticket #3349 - Adicionado campo de busca, removido o collapse do jqgrid, adicionada marca ao input

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.5.1-expresso1/prototype/modules/attach_message/attach_message.js

    r7894 r7895  
    465465                                  id: "0" 
    466466                        }, 
     467                        hidegrid:false, 
    467468                        rowNum:10, 
    468469                        rowList:[10,25,50], 
     
    659660                }); 
    660661                //.jqGrid('navGrid','#message_attacher_grid_pager',{edit:false,add:false,del:false}); 
     662 
     663                var search_messages = function(param){ 
     664 
     665                } 
     666 
    661667                var title = [get_lang("First page"), get_lang("Prev page"), get_lang("Next page"), get_lang("Last page")]; 
    662668                $("#first_message_attacher_grid_pager").attr("title",title[0]); 
     
    664670                $("#next_message_attacher_grid_pager").attr("title",title[2]); 
    665671                $("#last_message_attacher_grid_pager").attr("title",title[3]); 
     672                $("#mailgrid-container .ui-jqgrid-titlebar") 
     673                .append( DataLayer.render("../prototype/modules/mail/templates/attachment_search.ejs") ).find(".ui-jqgrid-titlebar-close").hide() 
     674                .end().find(".attach-message-search-input").Watermark("Pesquisa...").keydown(function(e){ 
     675                        if($.ui.keyCode.ENTER == e.keyCode){ 
     676                                search_messages($(this).val()); 
     677                        } 
     678                }); 
    666679        } 
    667680}); 
Note: See TracChangeset for help on using the changeset viewer.