mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
API CHANGE Removed flashColor(), stopFlashing(), suggestStageLink() javascript methods, they were never used
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92643 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
07e8d2e1e7
commit
4082561e5d
@ -1,19 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
function suggestStageSiteLink() {
|
|
||||||
var el = $('viewStageSite');
|
|
||||||
el.flasher = setInterval(flashColor.bind(el), 300);
|
|
||||||
setTimeout(stopFlashing.bind(el), 3000);
|
|
||||||
}
|
|
||||||
function flashColor() {
|
|
||||||
if(!this.style.color) this.style.color = '';
|
|
||||||
this.style.color = (this.style.color == '') ? '#00FF00' : '';
|
|
||||||
}
|
|
||||||
function stopFlashing() {
|
|
||||||
clearInterval(this.flasher);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Behaviour.register({
|
Behaviour.register({
|
||||||
'a.cmsEditlink' : {
|
'a.cmsEditlink' : {
|
||||||
onclick : function() {
|
onclick : function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user