Changeset 700 in subversion


Ignore:
Timestamp:
Aug 23, 2007 6:00:19 PM (6 years ago)
Author:
till
Message:
  • preview

# js fix

Location:
branches/devel-vnext/plugins/macbay_filter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/devel-vnext/plugins/macbay_filter/bootstrap.php

    r645 r700  
    1717 */ 
    1818require_once 'Zend/XmlRpc/Client.php'; 
    19 $endpoint = 'http://preview.macbay.de/config/xmlrpc/cli'; 
     19$endpoint = 'http://www.macbay.de/config/xmlrpc/cli'; 
    2020 
    2121/** 
  • branches/devel-vnext/plugins/macbay_filter/form.php

    r694 r700  
    156156        return; 
    157157    } 
    158     $.post( 
    159         '<?php echo $registry->get('RC_URI', 'core'); ?>?_task=plugin&_action=macbay_filter/delete.php', 
    160         {filterName: filterName }, 
    161         function(data) { 
    162             if (data == 'ok') { 
    163                 $('#' + formId).slideUp('slow').ready(function(){ 
    164                     $('#' + formId).remove(); 
    165                 }); 
     158    $('#content_' + formId).slideUp('slow').ready(function(){ 
     159        $.post( 
     160            '<?php echo $registry->get('RC_URI', 'core'); ?>?_task=plugin&_action=macbay_filter/delete.php', 
     161            {filterName: filterName }, 
     162            function(data) { 
     163                if (data == 'ok') { 
     164                    $('#' + formId).slideUp('slow').ready(function(){ 
     165                        $('#' + formId).remove(); 
     166                    }); 
     167                    return; 
     168                } 
     169                alert('Der Regelsatz konnte nicht entfernt werden.'); 
    166170                return; 
    167171            } 
    168             alert('Der Regelsatz konnte nicht entfernt werden.'); 
    169             return; 
    170         } 
    171     ) 
     172        ) 
     173    }); 
    172174} 
    173175/* ]]> */ 
Note: See TracChangeset for help on using the changeset viewer.