Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item12952: make it work under {NoConflict} enabled
  • Loading branch information
MichaelDaum committed Sep 1, 2014
1 parent ee0ff41 commit dd928ea
Show file tree
Hide file tree
Showing 2 changed files with 316 additions and 321 deletions.
17 changes: 10 additions & 7 deletions pub/System/ConfigurePlugin/configure.uncompressed.js
Expand Up @@ -26,6 +26,16 @@ var jsonRpc_reqnum = 0;
var $FALSE = 0;
var $TRUE = 1;

// Convert key string to valid HTML id. Not guaranteed to generate a unique
// id, but close enough for our purposes.
function _id_ify(id) {
if (id == undefined) debugger;
id = id.replace(/[}{]/g, '-');
id = id.replace(/['"]/g, '');
id = id.replace(/[^A-Za-z0-9_]/g, '-');
return 'i' + id;
}

(function($) {
var auth_action = function() {};
var confirm_action = function() {};
Expand Down Expand Up @@ -865,10 +875,3 @@ var $TRUE = 1;
});

})(jQuery);







0 comments on commit dd928ea

Please sign in to comment.