⌈⌋ branch:  freshcode


Check-in [f8bc06e188]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
SHA1 Hash:f8bc06e18878d44cb8cb906055594043fd87b88d
Date: 2014-12-23 05:11:39
User: mario
Comment:Prevent recollapsing of forum entries when editing within the reply/form fields.
Tags And Properties
  • branch=trunk inherited from [82405bb421]
  • sym-trunk inherited from [82405bb421]
Context
2014-12-29
14:08
[39f671788e] Forum: threads with new submissions order on top now. (user: mario, tags: trunk)
2014-12-23
05:11
[f8bc06e188] Prevent recollapsing of forum entries when editing within the reply/form fields. (user: mario, tags: trunk)
05:11
[4ee9fb60b6] Make actual timeout for session also 7 days. (user: mario, tags: trunk)
Changes

Changes to gimmicks.js.

1
2
3
4
5
6
7
8
9
10
11
12
...
123
124
125
126
127
128
129
130

131
132
133
134
135
136
137
/**
 * api: jquery
 * title: UI behaviour
 * description: Well, just client-side interface features
 * version: 0.4.1
 * depends: jquery, jquery-ui
 *
 * Collects a few event callbacks to toggle and trigger all the things.
 *
 *  → Compacted entries (.trimmed class)
 *
 *  → Trove tags
................................................................................

    /**
     * Forum actions.
     *
     */

    // Expand forum previews
    $(".forum").on("click", ".entry", function(){

        $(this).find(".excerpt, .content").animate({opacity: 'toggle', height: 'toggle'});
        $(this).find(".funcs").toggleClass("trimmed");
    });
     
    // Post submit button
    $(".forum").delegate(".action", "click", function(ev){





|







 







|
>







1
2
3
4
5
6
7
8
9
10
11
12
...
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
/**
 * api: jquery
 * title: UI behaviour
 * description: Well, just client-side interface features
 * version: 0.4.2
 * depends: jquery, jquery-ui
 *
 * Collects a few event callbacks to toggle and trigger all the things.
 *
 *  → Compacted entries (.trimmed class)
 *
 *  → Trove tags
................................................................................

    /**
     * Forum actions.
     *
     */

    // Expand forum previews
    $(".forum").on("click", ".entry", function(e){
        if ($(e.target).is("form *")) return false;
        $(this).find(".excerpt, .content").animate({opacity: 'toggle', height: 'toggle'});
        $(this).find(".funcs").toggleClass("trimmed");
    });
     
    // Post submit button
    $(".forum").delegate(".action", "click", function(ev){