~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/templates/base-layout-macros.pt

Merge db-devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
        // anywhere outside of it.
126
126
        Y.on('click', handleClickOnPage, window);
127
127
 
128
 
        // Hook up an event hanlder that will close any message boxes when they
129
 
        // are clicked.
130
 
        Y.delegate('click', function(e) {
131
 
            this.setStyle('display', 'none');
132
 
        }, 'body', '.message');
133
 
 
134
128
        Y.on('lp:context:web_link:changed', function(e) {
135
129
            window.location = e.new_value;
136
130
        });
177
171
    </script>
178
172
    <script tal:repeat="key objects"
179
173
      tal:content="string:LP.cache['${key}'] =
180
 
                   ${objects/?key/webservice:json};">
 
174
                   ${objects/?key/webservice:json/fmt:obfuscate-email};">
181
175
    </script>
182
176
  </tal:cache>
183
177
 
184
178
  <script tal:condition="context/webservice:is_entry"
185
179
    tal:content="string:LP.cache['context'] =
186
 
                 ${context/webservice:json};">
 
180
                 ${context/webservice:json/fmt:obfuscate-email};">
187
181
  </script>
188
182
</metal:lp-client-cache>
189
183