Revision 5ebebb20 snf-astakos-app/astakos/im/static/im/js/common.js
b/snf-astakos-app/astakos/im/static/im/js/common.js | ||
---|---|---|
157 | 157 |
|
158 | 158 |
|
159 | 159 |
|
160 |
//if ($('.widjets'.length > 0)) { |
|
161 |
///$('.widjets li div').equalHeights(); |
|
160 |
///if ($('.widjets'.length > 0)) {
|
|
161 |
///$('.widjets li div .txt').equalHeights();
|
|
162 | 162 |
///} |
163 | 163 |
|
164 | 164 |
$(function() { |
... | ... | |
232 | 232 |
$(this).hide(); |
233 | 233 |
}); |
234 | 234 |
|
235 |
$('.editable .form-row').each(function() { |
|
236 |
if ( $(this).hasClass('with-errors') ){ |
|
237 |
$('.editable').show(); |
|
238 |
$('.projects .details a.edit, .projects .details .data').hide(); |
|
239 |
|
|
240 |
} |
|
241 |
}); |
|
235 | 242 |
|
236 | 243 |
$('.widjet-x').click(function(e){ |
237 | 244 |
e.preventDefault(); |
... | ... | |
277 | 284 |
$(this).parents('.dialog').siblings('form').submit(); |
278 | 285 |
}) |
279 | 286 |
|
287 |
$('.hidden-submit input[readonly!="True"]').focus(function () { |
|
288 |
$('.hidden-submit .form-row.submit').show(500); |
|
289 |
}); |
|
280 | 290 |
|
281 | 291 |
}); |
282 | 292 |
|
283 | 293 |
$(window).resize(function() { |
284 | 294 |
|
285 | 295 |
setContainerMinHeight('.container .wrapper'); |
286 |
///if ($('.widjets').length > 0) { |
|
287 |
//$('.widjets li div').equalHeights(); |
|
288 |
//} |
|
296 |
|
|
289 | 297 |
|
290 | 298 |
}); |
Also available in: Unified diff