Skip to content

Commit

Permalink
Item12952: make it work under {NoConflict} enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum authored and gac410 committed Sep 12, 2014
1 parent bd9026f commit dc917ee
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
Original file line number Diff line number Diff line change
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);







Loading

0 comments on commit dc917ee

Please sign in to comment.