Changeset 1827:38ac207ff0ba for admin/js/common.js
- Timestamp:
- 09/09/13 15:49:13 (12 years ago)
- Branch:
- Ticket #1539
- Parents:
- 1826:fd4a45d891a9 (diff), 1766:a3e16ad9e270 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/common.js
r1761 r1827 263 263 }, 264 264 265 checkboxesHelpers: function(e ) {265 checkboxesHelpers: function(e, target) { 266 266 $(e).append(document.createTextNode(dotclear.msg.to_select)); 267 267 $(e).append(document.createTextNode(' ')); 268 268 269 target = target || $(e).parents('form').find('input[type="checkbox"]'); 270 269 271 var a = document.createElement('a'); 270 272 a.href='#'; 271 273 $(a).append(document.createTextNode(dotclear.msg.select_all)); 272 274 a.onclick = function() { 273 $(this).parents('form').find('input[type="checkbox"]').check();275 target.check(); 274 276 return false; 275 277 }; … … 282 284 $(a).append(document.createTextNode(dotclear.msg.no_selection)); 283 285 a.onclick = function() { 284 $(this).parents('form').find('input[type="checkbox"]').unCheck();286 target.unCheck(); 285 287 return false; 286 288 }; … … 293 295 $(a).append(document.createTextNode(dotclear.msg.invert_sel)); 294 296 a.onclick = function() { 295 $(this).parents('form').find('input[type="checkbox"]').toggleCheck();297 target.toggleCheck(); 296 298 return false; 297 299 }; -
admin/js/common.js
r1818 r1827 244 244 imgE.style.position = 'absolute'; 245 245 imgE.style.top = '1.7em'; 246 imgE.style.left = ($(this).width()+ 4)+'px';246 imgE.style.left = ($(this).width()+12)+'px'; 247 247 imgE.alt=dotclear.msg.click_to_unlock; 248 248 $(imgE).css('cursor','pointer'); … … 382 382 $('#help').helpViewer(); 383 383 384 $('.message').backgroundFade({sColor:'#cccccc',eColor:'#6 66666',steps:20});384 $('.message').backgroundFade({sColor:'#cccccc',eColor:'#676e78',steps:20}); 385 385 $('.error').backgroundFade({sColor:'#ffdec8',eColor:'#ffbaba',steps:20}); 386 386 $('.success').backgroundFade({sColor:'#9BCA1C',eColor:'#bee74b',steps:20});
Note: See TracChangeset
for help on using the changeset viewer.