Ignore:
Timestamp:
Mar 7, 2014, 10:30:38 AM (10 years ago)
Author:
Miklfe
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/MyPiwiShop/admin/template/options.tpl

    r27568 r27589  
    2020                $('.addedit').click(function() {
    2121                        $('.Tadd').show();
     22                        $('.add_content').css('top','100px')
    2223                        $('#add_option').fadeIn();
    2324                        $("input[name=name]").focus();
     
    125126               
    126127                $(document).on('click','#table_option .optEdit', function () {
    127                         var $this =$(this);
     128                        var $this       =$(this),
     129                                $pos    = $(document).scrollTop(),
     130                                $pos    = $pos + 100;
     131                               
     132                        $('.add_content').css('top',$pos)
    128133                        $('.Tedit').show();
    129134                        _rempform($this);
     
    134139               
    135140                $(document).on('click','#table_option .optDupli', function () {
    136                         var $this =$(this);
     141                        var $this       =$(this);
     142                                $pos    = $(document).scrollTop(),
     143                                $pos    = $pos + 100;
     144                               
     145                        $('.add_content').css('top',$pos)
    137146                        $('.Tdupli').show();
    138147                        _rempform($this);
     
    254263<div class="add_content">
    255264        <div class="boxtitre"><h1>
    256         <span class="tit Tadd">{'Add a'|translate}</span>
    257         <span class="tit Tedit">{'Edit the'|translate}</span>
    258         <span class="tit Tdupli">{'Duplicate the'|translate}</span>
    259         <span>{' option'|translate}</span>
     265        <span class="tit Tadd">{'Add '|translate}</span>
     266        <span class="tit Tedit">{'Edit '|translate}</span>
     267        <span class="tit Tdupli">{'Duplicate '|translate}</span>
     268        <span class="tit Tedit Tdupli">{'the option'|translate}</span>
     269        <span class="tit Tadd">{'a option'|translate}</span>
    260270        </h1></div>
    261271        <span id="close_addoption" class="close_box_add"></span>
Note: See TracChangeset for help on using the changeset viewer.