linktrimmer remove frames serendipity.js

because of ReferenceError: jQuery is not defined with
jQuery(function() {
    jQuery('input[type="url"]').change(function() {
        if (this.value != '' && ! (this.value.substr(0,7) == 'http://' || this.value.substr(0,8) == 'https://')) {
            this.value = 'http://' + this.value;
        }
    });
})

This is specific to netzgestaltung. I dont have that issue.
This commit is contained in:
Ian 2014-06-12 19:55:22 +02:00
parent 8524ba5b33
commit f8c039b2e7
3 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
1.6:
----
* do not include serendipity.js in frame, because of
ReferenceError: jQuery is not defined
1.5:
----
* Fix for enablePopup in >= 2.0

View file

@ -11,7 +11,6 @@
<link rel="stylesheet" href="{serendipity_getFile file='admin/oldie.css'}">
<![endif]-->
<script src="{serendipity_getFile file='admin/js/modernizr-2.8.1.min.js'}"></script>
<script src="{$head_link_script}"></script>
<style>{* popup only classes *}
.serendipity_linktrimmer_page .linktrimmer {

View file

@ -26,7 +26,7 @@ class serendipity_event_linktrimmer extends serendipity_event {
'php' => '4.1.0'
));
$propbag->add('version', '1.5');
$propbag->add('version', '1.6');
$propbag->add('author', 'Garvin Hicking, Ian');
$propbag->add('stackable', false);
$propbag->add('configuration', array('prefix', 'frontpage', 'domain'));