@@ -142,7 +142,7 @@ block script
142
142
// let user sort #toc menu by drag and drop, a very user friendly feature suggest by @ipa. using jquery ui sortable. (also, ethercalc only)
143
143
var sort_ethercalc = function (sort_initial_row , sort_target_row ){
144
144
$ .ajax ({
145
- url: " https://ethercalc.org /_/" + ethercalc_name,
145
+ url: " https://ethercalc.net /_/" + ethercalc_name,
146
146
contentType: ' text/plain' ,
147
147
data: ' moveinsert A' + sort_initial_row+ ' :F' + sort_initial_row+ ' A' + sort_target_row,
148
148
type: ' POST' ,
@@ -372,7 +372,7 @@ block script
372
372
// set iframe src?
373
373
if (current_iframe_url == " edit" ){
374
374
if (csv_api_source_type== " ethercalc" ){
375
- iframe_src = ' https://ethercalc.org /' + csv_api_source_id;
375
+ iframe_src = ' https://ethercalc.net /' + csv_api_source_id;
376
376
}else {
377
377
iframe_src = ' https://docs.google.com/spreadsheets/d/' + csv_api_source_id+ ' /edit' ;
378
378
};
@@ -730,8 +730,8 @@ block script
730
730
// prepare to post to ethercalc
731
731
var post_ethercalc = function (post_title , post_url ){
732
732
$ .ajax ({
733
- url: " https://ethercalc.org /_/" + ethercalc_name,
734
- // url: "https://ethercalc.org /_/"+ethercalc_name+"?row="+new_pad_row_index.toString(),
733
+ url: " https://ethercalc.net /_/" + ethercalc_name,
734
+ // url: "https://ethercalc.net /_/"+ethercalc_name+"?row="+new_pad_row_index.toString(),
735
735
type: ' POST' ,
736
736
contentType: ' text/csv' ,
737
737
processData: false ,
@@ -860,7 +860,7 @@ block script
860
860
// show sheet
861
861
if (! hide_sheet){
862
862
if (csv_api_source_type== " ethercalc" ){
863
- $ (" #topbar .edit.table" ).attr (" href" ,' https://ethercalc.org /' + csv_api_source_id);
863
+ $ (" #topbar .edit.table" ).attr (" href" ,' https://ethercalc.net /' + csv_api_source_id);
864
864
// make foldr items sortable
865
865
if (sort_sheet){
866
866
$ (" #toc .sortable" ).sortable (sort_action);
0 commit comments