Last active
December 14, 2015 00:09
-
-
Save mdogadailo/4996913 to your computer and use it in GitHub Desktop.
Revisions
-
mdogadailo revised this gist
Feb 20, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1 @@ javascript:all={},j=0;$(".edit-delet-links a:contains('edit')").each(function(){var e,t,n;e=this.href.split("/");t=e[e.length-1];n=$(this).parents(".content-element-block").find('.edit-cell-wrap input[type="radio"]');all[t]=[];n.each(function(){all[t].push(this.value)})});config_str='<property name="maxyBox">\n <map>';proper_str="";for(i in all){j++;config_str+='\n <entry key="Box'+j+'" value="'+i+'" />';proper_str+='<property name="ListOfVar'+j+'" value="'+all[i].join(",")+'"/>\n'}config_str+="\n </map>\n</property>"; $('body').append('<div id="code_block" style="width: 500px;height: 215px;position: absolute;left: 10px;top: 10px;padding: 10px;background: #FFF;border-radius: 10px;z-index: 10000000000;"><textarea id="code" style="height: 190px;border: 1px solid #000;width: 490px;"></textarea><span id="close_at" style="text-decoration:underline; cursor:pointer">Close</span></div>');$('#close_at').one('click', function(){$('#code_block').remove();});$('#code').html(config_str+proper_str+'');void(0); -
mdogadailo revised this gist
Feb 20, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1 @@ javascript:if(console.clear){console.clear();}all={},j=0;$(".edit-delet-links a:contains('edit')").each(function(){var e,t,n;e=this.href.split("/");t=e[e.length-1];n=$(this).parents(".content-element-block").find('.edit-cell-wrap input[type="radio"]');all[t]=[];n.each(function(){all[t].push(this.value)})});config_str='<property name="maxyBox">\n <map>';proper_str="";for(i in all){j++;config_str+='\n <entry key="Box'+j+'" value="'+i+'" />';proper_str+='<property name="ListOfVar'+j+'" value="'+all[i].join(",")+'"/>\n'}config_str+="\n </map>\n</property>";/*console.log(config_str+proper_str);*/ $('body').append('<div id="code_block" style="width: 500px;height: 215px;position: absolute;left: 10px;top: 10px;padding: 10px;background: #FFF;border-radius: 10px;z-index: 10000000000;"><textarea id="code" style="height: 190px;border: 1px solid #000;width: 490px;"></textarea><span id="close_at" style="text-decoration:underline; cursor:pointer">Close</span></div>');$('#close_at').one('click', function(){$('#code_block').remove();});$('#code').html(config_str+proper_str+'');void(0); -
mdogadailo revised this gist
Feb 20, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1 @@ javascript:if(console.clear){console.clear();}all={},j=0;$(".edit-delet-links a:contains('edit')").each(function(){var e,t,n;e=this.href.split("/");t=e[e.length-1];n=$(this).parents(".content-element-block").find('.edit-cell-wrap input[type="radio"]');all[t]=[];n.each(function(){all[t].push(this.value)})});config_str='<property name="maxyBox">\n <map>';proper_str="";for(i in all){j++;config_str+='\n <entry key="Box'+j+'" value="'+i+'" />';proper_str+='<property name="ListOfVar'+j+'" value="'+all[i].join(",")+'"/>\n'}config_str+="\n </map>\n</property>";/*console.log(config_str+proper_str);*/ $('body').append('<div id="code_block" style="width: 500px;height: 200px;position: absolute;left: 10px;top: 10px;padding: 10px;background: #FFF;border-radius: 10px;z-index: 10000000000;"><textarea id="code" style="height: 190px;border: 1px solid #000;width: 490px;"></textarea><span id="close_at" style="text-decoration:underline; cursor:pointer">Close</span></div>');$('#close_at').one('click', function(){$('#code').remove();});$('#code').html(config_str+proper_str+'');void(0); -
mdogadailo created this gist
Feb 20, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ javascript:if(console.clear){console.clear();}all={},j=0;$(".edit-delet-links a:contains('edit')").each(function(){var e,t,n;e=this.href.split("/");t=e[e.length-1];n=$(this).parents(".content-element-block").find('.edit-cell-wrap input[type="radio"]');all[t]=[];n.each(function(){all[t].push(this.value)})});config_str='<property name="maxyBox">\n <map>';proper_str="";for(i in all){j++;config_str+='\n <entry key="Box'+j+'" value="'+i+'" />';proper_str+='<property name="ListOfVar'+j+'" value="'+all[i].join(",")+'"/>\n'}config_str+="\n </map>\n</property>";/*console.log(config_str+proper_str);*/ $('body').append('<div id="code_block" style="width: 500px;height: 200px;position: absolute;left: 10px;top: 10px;padding: 10px;background: #FFF;border-radius: 10px;z-index: 10000000000;"><textarea id="code" style="height: 190px;border: 1px solid #000;width: 490px;"></textarea></div>');$('#code').html(config_str+proper_str);void(0);