Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

update the api

  • Loading branch information...
commit 3dae012a6227feaa59da6808db461cb5a0f83afe 1 parent 06984d1
Julien Renaux authored April 05, 2012

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  js/mercor-modal.js
6  js/mercor-modal.js
@@ -456,9 +456,9 @@ MercorModal.Request = new Class({
456 456
 
457 457
 });
458 458
 window.addEvent('domready',function(){
459  
-	$$('[mercor-modal-options]').each(function(button){
460  
-		var options = JSON.decode(button.get('mercor-modal-options'));
461  
-		button.removeProperty('mercor-modal-options');
  459
+	$$('[mercor-modal]').each(function(button){
  460
+		var options = JSON.decode(button.get('mercor-modal'));
  461
+		button.removeProperty('mercor-modal');
462 462
 		button.addEvent('click',function(e){
463 463
 			switch (options.type) {
464 464
 				case 'iframe':

0 notes on commit 3dae012

Please sign in to comment.
Something went wrong with that request. Please try again.